diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-09 23:11:40 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-09 23:12:07 -0700 |
commit | 07b77b8ee02192a6d60c87002bb89a1eaee1aecc (patch) | |
tree | f7a981aa0e8bbe825d7c748bc08880db9d7817ee /admin | |
parent | 560202f67513327f5b262e01ebc709ab6855d6f6 (diff) |
Prefer getsockopt to getpeername on non-MS-Windows
* admin/CPP-DEFINES: Remove HAVE_GETPEERNAME.
* configure.ac: Don’t check for getpeername.
* src/process.c (wait_reading_process_output) [!WINDOWSNT]:
Use getsockopt even if not GNU/Linux, as the platforms where
getsockopt used to hang are no doubt long dead.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/CPP-DEFINES | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index d9df152bff..c7ec8ce6fe 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -156,7 +156,6 @@ HAVE_GETLOADAVG HAVE_GETOPT_H HAVE_GETOPT_LONG_ONLY HAVE_GETPAGESIZE -HAVE_GETPEERNAME HAVE_GETPT HAVE_GETPWENT HAVE_GETRLIMIT |