Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | poll: suppress a warning | Jim Meyering | 2009-01-16 | 1 | -0/+5 | |
| | | | | | * lib/poll.c: Use #pragma GCC diagnostic ignored "-Wtype-limits" to ignore "...unsigned expression < 0 is always false" warnings. | |||||
* | poll: remove declarations of unused variables | Daniel P. Berrange | 2009-01-16 | 1 | -2/+0 | |
| | | | | | * lib/poll.c (poll) [WIN32_NATIVE]: Remove declarations of unused sockbuf and optlen. | |||||
* | poll: filter through cppi | Jim Meyering | 2009-01-07 | 1 | -25/+25 | |
| | | | | * lib/poll.c: Indent cpp directives to reflect nesting. | |||||
* | poll: don't return uninitialized | Daniel P. Berrange | 2009-01-07 | 1 | -2/+2 | |
| | | | | * lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc". | |||||
* | remove trailing spaces | Jim Meyering | 2008-10-01 | 1 | -1/+1 | |
| | | | | | | | | | | | * NEWS: Likewise. * lib/poll.c (poll): Likewise. * lib/sys_socket.in.h (SHUT_RDWR): Likewise. * lib/winsock.c (rpl_close): Likewise. * m4/memcmp.m4 (gl_FUNC_MEMCMP): Likewise. * modules/yield: Likewise. * tests/test-poll.c (connect_to_socket, poll1): Likewise. * tests/test-sys_select.c (connect_to_socket): Likewise. | |||||
* | implement a native version of poll for Win32 | Paolo Bonzini | 2008-09-23 | 1 | -52/+393 | |
| | | | | | | | 2008-09-22 Paolo Bonzini <bonzini@gnu.org> * lib/poll.c: Rewrite. * modules/poll: Depend on alloca. | |||||
* | poll: fix polling unconnected server sockets on WIN32 | Yoann Vandoorselaere | 2008-09-11 | 1 | -0/+6 | |
| | | | | | | 2008-09-11 Yoann Vandoorselaere <yoann.v@prelude-ids.com> * lib/poll.c (poll): Fix polling unconnected server sockets on WIN32. | |||||
* | Revert "poll-win32" | Paolo Bonzini | 2008-08-29 | 1 | -350/+40 | |
| | | | | | This reverts commit 4ced5d92be93b997c280be8d436e8a49b3b5e0dc which was merged in by mistake. | |||||
* | poll-win32 | Paolo Bonzini | 2008-08-19 | 1 | -40/+350 | |
| | ||||||
* | Further micro-optimization. | Bruno Haible | 2008-08-07 | 1 | -2/+6 | |
| | ||||||
* | microoptimization of lib/poll.c | Paolo Bonzini | 2008-08-06 | 1 | -10/+20 | |
| | | | | | | | 2008-08-06 Paolo Bonzini <bonzini@gnu.org> * lib/poll.c (poll): Avoid division when timeout is 0, cache _SC_OPEN_MAX, avoid repeated access to errno. Check for nfd < 0. | |||||
* | Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C | Bruno Haible | 2008-03-30 | 1 | -4/+0 | |
| | | | | code. | |||||
* | Prefer <config.h> over "config.h". See autoconf doc for explanation. | Jim Meyering | 2008-01-25 | 1 | -3/+3 | |
| | | | | | * lib/poll.c: Include <config.h>, not "config.h". * tests/test-getaddrinfo.c: Likewise. | |||||
* | Fix compilation error on BeOS. | Bruno Haible | 2007-03-23 | 1 | -0/+5 | |
| | ||||||
* | 2007-01-22 Yoann Vandoorselaere <yoann.v@prelude-ids.com> | Paolo Bonzini | 2007-01-22 | 1 | -0/+5 | |
| | | | | * lib/poll.c (rpl_poll): Don't check against FD_SETSIZE under Win32. | |||||
* | * lib/poll.c: Include sys/time.h and time.h unconditionally, | Paul Eggert | 2007-01-20 | 1 | -17/+9 | |
| | | | | | | | since we now assume the sys_time module. * m4/poll.m4 (gl_PREREQ_POLL): Don't require AC_HEADER_TIME or check for sys/time.h; no longer needed. * modules/poll (Depends-on): Depend on sys_time. | |||||
* | 2007-01-03 Paolo Bonzini <bonzini@gnu.org> | Paolo Bonzini | 2007-01-03 | 1 | -58/+53 | |
| | | | | | | | | | | Yoann Vandoorselaere <yoann.v@prelude-ids.com> * lib/poll.c (poll): Use recv on Mac OS X to distinguish connected sockets, server sockets, and other file descriptors. Count errors to compute the return value. Reorder the code a bit to be easier to follow. Don't set event bits that were not requested (except POLLERR and POLLHUP). | |||||
* | 2006-09-28 Paolo Bonzini <bonzini@gnu.org> | Paolo Bonzini | 2006-09-28 | 1 | -11/+40 | |
| | | | | | * lib/poll.c (rpl_poll) [__APPLE__]: Use FIONREAD instead of MSG_PEEK. * m4/poll.m4: Look for sys/ioctl.h and sys/filio.h. | |||||
* | Use a consistent style for including <config.h>. | Paul Eggert | 2005-09-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * __fpending.c, acl.c, argmatch.c, argp-help.c, argp-parse.c, argp-pvh.c, backupfile.c, basename.c, c-stack.c, calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c, creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c, dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c, fd-safer.c, file-type.c, fileblocks.c, filemode.c, filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c, fsusage.c, ftruncate.c, full-write.c, fwriteerror.c, getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c, getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c, inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c, memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c, modechange.c, mountlist.c, open-safer.c, physmem.c, pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c, progreloc.c, putenv.c, quote.c, quotearg.c, readline.c, readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c, strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c, strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c, strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c, userspec.c, utimecmp.c, version-etc-fsf.c, version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c, xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c, xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c: Standardize inclusion of config.h. * __fpending.h, dirfd.h, getdate.h, human.h, inttostr.h: Removed inclusion of config.h from header files. * inttostr.c: Adjusted in-tree users. * timespec.h: Remove superfluous warning to include config.h. * atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c, gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c, nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c, unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H. | |||||
* | *** empty log message *** | Paul Eggert | 2005-05-14 | 1 | -1/+1 | |
| | ||||||
* | Switch from LGPL to GPL. | Paul Eggert | 2003-07-14 | 1 | -12/+10 | |
| | ||||||
* | New module poll, from Paolo Bonzini <bonzini@gnu.org>. | Bruno Haible | 2003-02-20 | 1 | -0/+182 | |