version 1.1.1.2, 2013/10/14 07:51:14
|
version 1.1.1.3, 2016/11/01 09:54:32
|
Line 3
|
Line 3
|
* |
* |
* Copyright (C) 1992-2001 Andrew Tridgell <tridge@samba.org> |
* Copyright (C) 1992-2001 Andrew Tridgell <tridge@samba.org> |
* Copyright (C) 2001, 2002 Martin Pool <mbp@samba.org> |
* Copyright (C) 2001, 2002 Martin Pool <mbp@samba.org> |
* Copyright (C) 2003-2013 Wayne Davison | * Copyright (C) 2003-2015 Wayne Davison |
* |
* |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
Line 161 int try_bind_local(int s, int ai_family, int ai_sockty
|
Line 161 int try_bind_local(int s, int ai_family, int ai_sockty
|
} |
} |
|
|
/* connect() timeout handler based on alarm() */ |
/* connect() timeout handler based on alarm() */ |
static RETSIGTYPE contimeout_handler(UNUSED(int val)) | static void contimeout_handler(UNUSED(int val)) |
{ |
{ |
connect_timeout = -1; |
connect_timeout = -1; |
} |
} |
Line 529 int is_a_socket(int fd)
|
Line 529 int is_a_socket(int fd)
|
} |
} |
|
|
|
|
static RETSIGTYPE sigchld_handler(UNUSED(int val)) | static void sigchld_handler(UNUSED(int val)) |
{ |
{ |
#ifdef WNOHANG |
#ifdef WNOHANG |
while (waitpid(-1, NULL, WNOHANG) > 0) {} |
while (waitpid(-1, NULL, WNOHANG) > 0) {} |