summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Depend on module 'sigpipe'.Bruno Haible2008-09-261-0/+1
|
* Support SIGPIPE in stdio functions for writing.Bruno Haible2008-09-261-0/+13
|
* Depend on module 'write', in case module 'sigpipe' is used also.Bruno Haible2008-09-261-0/+1
|
* Tests for module 'sigpipe'.Bruno Haible2008-09-261-0/+14
|
* New module 'write'.Bruno Haible2008-09-262-0/+28
|
* Support signal handling with SIGPIPE on native Windows platforms.Bruno Haible2008-09-261-0/+1
|
* fts: sort dirent entries on inode number before traversingJim Meyering2008-09-261-0/+1
| | | | | | | | | | | | | | | | | This avoids a quadratic, seek-related performance penalty when operating on a directory containing many entries (measurable at 10k; 3.5 hours at 2 million entries with a cold cache) on certain types of file systems, including ext3 and ext4, but not tmpfs. * lib/fts.c (DT_MUST_BE, NOT_AN_INODE_NUMBER, D_INO): Define. (FTS_INODE_SORT_DIR_ENTRIES_THRESHOLD): Define if not defined. (S_MAGIC_TMPFS, S_MAGIC_NFS): Define. (fs_handles_readdir_ordered_dirents_efficiently): New function. (dirent_inode_sort_may_be_useful, fts_compare_ino): Likewise. (fts_build): Set the stat.st_ino member from D_INO. If it is likely to be useful, sort dirent entries on inode number. * m4/fts.m4 (gl_FUNC_FTS_CORE): Check for fstatfs, sys/vfs.h, and the struct statfs.f_type member. * modules/fts (Depends-on): Add d-ino.
* New module 'sigpipe'.Bruno Haible2008-09-261-0/+37
|
* modules/sys_select-tests (Depends-on): Remove sys_select.Simon Josefsson2008-09-251-1/+0
|
* implement full-blown select(2) for winsockPaolo Bonzini2008-09-242-0/+12
| | | | | | | | | | | | | | | | 2008-09-24 Paolo Bonzini <bonzini@gnu.org> * NEWS: Document increased portability that sys_select now provides. * lib/sys_select.in.h: Install select wrapper. * lib/sys_socket.in.h: Use more descriptive name when there is no select wrapper. * lib/winsock-select.c: New. * m4/sys_select_h.m4: Compile lib/winsock-select.c if WinSock is used. Require gl_HEADER_SYS_SOCKET. * modules/sys_select: Depend on alloca, add lib/winsock-select.c. * modules/sys_select-tests: Copy dependencies from modules/poll-tests. * tests/test-sys_select.c: Add functional tests.
* Ensure that a filename ending in a slash cannot be used to access a ↵Bruno Haible2008-09-241-0/+1
| | | | non-directory.
* implement a native version of poll for Win32Paolo Bonzini2008-09-231-0/+1
| | | | | | | 2008-09-22 Paolo Bonzini <bonzini@gnu.org> * lib/poll.c: Rewrite. * modules/poll: Depend on alloca.
* add sockets wrappersPaolo Bonzini2008-09-232-0/+3
| | | | | | | | | | | | | | | 2008-09-23 Paolo Bonzini <bonzini@gnu.org> * lib/sys_socket.in.h: Do not implement rpl_setsockopt here, instead define prototypes for a full set of wrappers. Ensure that Cygwin does not use the compatibility code, which is only for MinGW. * lib/winsock.c: New. * m4/sys_socket_h.m4: Compile lib/winsock.c if WinSock is being used. * modules/sys_socket: Add lib/winsock.c. * modules/poll-tests: Add errno and perror. * tests/test-poll.c: Use ioctl, not ioctlsocket.
* New module 'strdup-posix'.Bruno Haible2008-09-214-1/+27
|
* Ensure that wint_t gets defined on IRIX 5.3.Bruno Haible2008-09-201-0/+2
|
* getaddrinfo: Don't depend on strdup.Simon Josefsson2008-09-181-1/+0
|
* avoid spurious test failure when library is built without ACL supportJim Meyering2008-09-161-1/+1
| | | | | | | * m4/acl.m4 (USE_ACL): Define as a shell variable, too, for... * modules/acl-tests (Makefile.am) [TESTS_ENVIRONMENT]: Add USE_ACL. * tests/test-file-has-acl.sh: Skip if USE_ACL == 0. * tests/test-copy-acl.sh: Likewise.
* Tests for module 'perror'.Bruno Haible2008-09-141-0/+12
|
* New module 'perror'.Bruno Haible2008-09-141-0/+26
|
* New module 'perror'.Bruno Haible2008-09-141-0/+2
|
* Reorder list of macros, for consistency.Bruno Haible2008-09-141-4/+4
|
* Extend strerror to cover the added errno values.Bruno Haible2008-09-141-0/+1
|
* Remove module EOVERFLOW.Bruno Haible2008-09-142-32/+0
|
* Remove module EOVERFLOW.Bruno Haible2008-09-1443-43/+43
|
* Tests for module 'errno'.Bruno Haible2008-09-141-0/+11
|
* New module 'errno'.Bruno Haible2008-09-141-0/+44
|
* fix test-poll compilation failure on CygwinPaolo Bonzini2008-09-121-1/+1
| | | | | | | 2008-09-12 Paolo Bonzini <bonzini@gnu.org> * modules/poll-tests: Do not check for io.h. * tests/test-poll.c: Check for __MSVCRT__ instead.
* port poll tests to WindowsPaolo Bonzini2008-09-121-0/+3
| | | | | | | | 2008-09-12 Paolo Bonzini <bonzini@gnu.org> * lib/sys_socket.in.h (EINPROGRESS): Define for Winsock case. * modules/poll-tests: Add inet_pton, stdbool, sockets. * tests/test-poll.c: Use them. Use _pipe on Windows.
* add a minimal testsuite for the poll modulePaolo Bonzini2008-09-121-0/+15
| | | | | | | 2008-09-12 Paolo Bonzini <bonzini@gnu.org> * modules/poll-tests: New. * tests/test-poll.c: New.
* Consistent license terms for all the fnmatch modules.Yoann Vandoorselaere2008-09-122-2/+2
|
* Relicense the getndelim2 dependencies under LGPLv2+.Bruno Haible2008-09-063-3/+3
|
* New module 'findprog-lgpl'.Bruno Haible2008-09-021-0/+32
|
* New module 'xconcat-filename', split off from module 'concat-filename'.Bruno Haible2008-09-025-5/+31
|
* Split module 'filename' into 'filename' and 'concat-filename'.Bruno Haible2008-09-022-7/+29
|
* bitrotate: Add 8 bit rotate functions.Simon Josefsson2008-09-011-1/+1
|
* Fix last commit.Simon Josefsson2008-09-011-1/+2
|
* Fix bitrotate module.Simon Josefsson2008-09-011-1/+2
|
* New module 'sigpipe-die'.Bruno Haible2008-08-311-0/+27
|
* Undo unintentional commit.Bruno Haible2008-08-312-6/+22
|
* Avoid some "gcc -pedantic" warnings.Bruno Haible2008-08-3028-47/+57
|
* Add bitrotate module.Simon Josefsson2008-08-294-0/+33
|
* * modules/getndelim2 (License): Relicense to LGPLv2+.Jim Meyering2008-08-281-1/+1
|
* Complete test of uc_width results.Bruno Haible2008-08-241-2/+6
|
* count-one-bits: relax licenseEric Blake2008-08-221-1/+1
| | | | | | | * modules/count-one-bits (License): Relicense to LGPLv2+. Suggested by Ludovic Courtès, approved by Ben Pfaff. Signed-off-by: Eric Blake <ebb9@byu.net>
* add m4/threadlib.m4 to the gettext modulePaolo Bonzini2008-08-211-0/+1
| | | | | | 2008-08-20 Paolo Bonzini <bonzini@gnu.org> * modules/gettext: Add m4/threadlib.m4.
* strverscmp: migrate from "strverscmp.h" to <string.h>Eric Blake2008-08-192-2/+5
| | | | | | | | | | | | | | | | | | | * modules/string (Makefile.am): Add new hooks. * modules/strverscmp (Files): Remove strverscmp.h. (Depends-on): Add string. (configure.ac): Add indicator. (Include): Mention new header. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Provide new defaults. * m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): Inform string module of results. * lib/strverscmp.h: Delete. * lib/string.in.h (strverscmp): Provide declaration, when needed. * tests/test-strverscmp.c (includes): Adjust client. * lib/check-version.c (includes): Likewise. * NEWS: Document the change. Signed-off-by: Eric Blake <ebb9@byu.net>
* strverscmp: add unit testEric Blake2008-08-191-0/+10
| | | | | | | * modules/strverscmp-tests: New file. * tests/test-strverscmp.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Implement thread control primitives for Win32.Bruno Haible2008-08-181-1/+3
|
* New module 'yield'.Bruno Haible2008-08-171-0/+29
|
* Link with LIBMULTITHREAD, not LIBTHREAD.Bruno Haible2008-08-171-1/+1
|