Mercurial > hg > octave-shane > gnulib-hg
view lib/.cppi-disable @ 15727:144db791c6fa
Ensure EBADF returns for socket functions on mingw.
* lib/accept.c (rpl_accept): Fail with error EBADF if the file
descriptor is invalid.
* lib/bind.c (rpl_bind): Likewise.
* lib/connect.c (rpl_connect): Likewise.
* lib/getpeername.c (rpl_getpeername): Likewise.
* lib/getsockname.c (rpl_getsockname): Likewise.
* lib/getsockopt.c (rpl_getsockopt): Likewise.
* lib/listen.c (rpl_listen): Likewise.
* lib/recv.c (rpl_recv): Likewise.
* lib/recvfrom.c (rpl_recvfrom): Likewise.
* lib/send.c (rpl_send): Likewise.
* lib/sendto.c (rpl_sendto): Likewise.
* lib/setsockopt.c (rpl_setsockopt): Likewise.
* lib/shutdown.c (rpl_shutdown): Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 21 Sep 2011 00:20:59 +0200 |
parents | 86e5cbcc71db |
children |
line wrap: on
line source
alloca.in.h error.h exit.h fnmatch.in.h fts.c fts_.h getaddrinfo.h getdelim.h getline.h getndelim2.h getopt.c getopt.h getopt1.c getopt.in.h getopt_int.h getpagesize.h getpass.c gettext.h localcharset.h malloca.h mbchar.h mbuiter.h md5.h obstack.h printf-args.h printf-parse.h regcomp.c regex.c regex.h regex_internal.c regex_internal.h stat-time.h stdbool.in.h stdint.in.h strnlen1.h strtoul.c sys_socket.in.h time_r.h utimecmp.h vasnprintf.h vasprintf.h