|
94b87393
|
2008-09-26T13:29:53
|
|
New module 'write'.
|
|
b5298eb7
|
2008-09-26T13:25:57
|
|
Support signal handling with SIGPIPE on native Windows platforms.
|
|
1d569ca4
|
2008-09-26T13:43:00
|
|
fts: tweak inode comparison function
* lib/fts.c (fts_compare_ino): Sort on increasing, not decreasing
inode numbers, as documented.
SCALAR(0xeb1b20)
|
|
2f2978ed
|
2008-09-16T10:05:47
|
|
fts: sort dirent entries on inode number before traversing
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.
|
|
321f80d0
|
2008-09-26T13:23:08
|
|
New module 'sigpipe'.
|
|
5241443b
|
2008-09-25T20:33:12
|
|
Report all license incompatibilities during --import.
|
|
bbb59369
|
2008-09-25T16:02:58
|
|
Oops, tweak last commit so that it also works in the first gnulib-tool run.
|
|
4ca4b0fb
|
2008-09-25T14:36:14
|
|
modules/sys_select-tests (Depends-on): Remove sys_select.
|
|
09546103
|
2008-09-25T14:32:17
|
|
Don't ask the user to perform edits in the generated Makefile.ams.
|
|
dae948e9
|
2008-09-25T12:56:07
|
|
Store the --tests-base option in the comment in gnulib-cache.m4.
|
|
76bb60b4
|
2008-09-23T15:11:23
|
|
implement full-blown select(2) for winsock
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.
|
|
810a812b
|
2008-09-24T10:55:19
|
|
open, fopen: close fd leak in last patch
* lib/open.c (rpl_open): Close fd before returning error.
* lib/fopen.c (rpl_fopen): Close fd before returning error.
* doc/posix-functions/open.texi (open): Document that Irix also
has the bug.
* doc/posix-functions/fopen.texi (fopen): Likewise.
Reported by Paolo Bonzini.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
955345eb
|
2008-09-24T13:50:02
|
|
Ensure that a filename ending in a slash cannot be used to access a non-directory.
|
|
91a109c0
|
2008-09-23T08:56:10
|
|
c-stack: avoid compiler optimizations when provoking overflow
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Make
recursion harder to optimize, to ensure a stack overflow occurs.
* tests/test-c-stack.c (recurse): Likewise.
Borrowed from libsigsegv.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
ad736828
|
2008-09-23T08:47:26
|
|
c-stack: work around Irix sigaltstack bug
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check
whether sigaltstack uses wrong end of stack_t (copied in part from
libsigsegv).
* lib/c-stack.c (c_stack_action) [!HAVE_LIBSIGSEGV]: Work around
Irix bug, without requiring an over-allocation.
* doc/posix-functions/sigaltstack.texi (sigaltstack): Document the
bug.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
4849ed60
|
2008-09-23T15:26:12
|
|
update NEWS for previous change
|
|
09d1d202
|
2008-09-23T06:48:07
|
|
fopen: document mingw bug on directories
* doc/posix-functions/fopen.texi (fopen): Mention mingw bug for
not allowing a stream visiting a directory, even though reading
from such a stream is not portable.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
cc4349c8
|
2008-08-29T09:12:11
|
|
implement a native version of poll for Win32
2008-09-22 Paolo Bonzini <bonzini@gnu.org>
* lib/poll.c: Rewrite.
* modules/poll: Depend on alloca.
|
|
77041ebc
|
2008-09-12T08:43:03
|
|
add sockets wrappers
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.
|
|
7bf5395a
|
2008-09-22T18:30:44
|
|
downgrade minimum needed Winsock version for test-poll.c
2008-09-23 Paolo Bonzini <bonzini@gnu.org>
* tests/test-poll.c: Downgrade minimum needed Winsock version.
|
|
244b71ae
|
2008-09-23T12:50:53
|
|
Add info about functions missing on IRIX 5.3.
|
|
31523c2b
|
2008-09-23T10:48:34
|
|
test-perror.sh (tmpfiles): Cleanup temporary files on success.
|
|
91764fec
|
2008-09-23T01:54:22
|
|
vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
|
|
c6024e17
|
2008-09-22T01:13:00
|
|
Tweak skip message.
|
|
ce1fa850
|
2008-09-22T00:47:13
|
|
Make autoconf tests structure consistent with source files in lib/.
|
|
878aed7c
|
2008-09-21T18:10:21
|
|
Clarify which modules are only for obsolete systems.
|
|
ebda2086
|
2008-09-21T17:17:43
|
|
Allow 3-digit exponents in %e and %g results on 'long double'.
|
|
674d0dd4
|
2008-09-21T16:43:46
|
|
Remove useless ASSERTs.
|
|
cfa381fc
|
2008-09-21T14:54:54
|
|
New module 'strdup-posix'.
|
|
1d6dbd3f
|
2008-09-20T15:32:21
|
|
Add data about branch probabilities.
|
|
6fe332a1
|
2008-09-20T14:51:52
|
|
Ensure that wint_t gets defined on IRIX 5.3.
|
|
aaca8e8e
|
2008-09-20T14:42:41
|
|
Update comment.
|
|
fd45e3f2
|
2008-09-20T13:04:14
|
|
Change ChangeLog entries.
|
|
0ca0a3c5
|
2008-09-18T15:46:30
|
|
getaddrinfo: Don't depend on strdup.
|
|
865b1b89
|
2008-09-18T12:34:27
|
|
Tweak last commit.
|
|
cb0fce1e
|
2008-09-17T04:58:08
|
|
Don't use tabs inside comments ("unexpand --first-only").
|
|
558bf128
|
2008-09-16T09:36:24
|
|
vasnprintf: support Irix 5.3
* lib/vasnprintf.c (VASNPRINTF): Also handle -0.0L on platforms
that mishandle long double infinity.
Reported by Tom G. Christensen.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
c14f2f33
|
2008-09-16T13:05:24
|
|
Update doc about Solaris.
|
|
4f26ef2e
|
2008-09-14T00:05:26
|
|
posix-shell.m4: reject opensolaris's "sh (AT&T Research) 1993-12-28 s+"
* m4/posix-shell.m4 (gl_POSIX_SHELL): Reject a shell that lets
a umask modification leak out of a subshell. Otherwise, the
opensolaris /bin/sh would be accepted and thus cause unwarranted
failures in the coreutils test suite.
|
|
dcbf5fac
|
2008-09-16T10:26:26
|
|
allow non-blocking connect to succeed, as it does on OpenBSD
2008-09-16 Paolo Bonzini <bonzini@gnu.org>
* tests/test-poll.c (connect_to_socket): Allow non-blocking connect
to succeed.
|
|
75de8885
|
2008-09-15T14:37:49
|
|
avoid spurious test failure when library is built without ACL support
* 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.
|
|
2d492585
|
2008-09-16T03:16:11
|
|
Use a second, less quick upper bound based on character occurrence counts.
|
|
a0dc6883
|
2008-09-15T14:31:03
|
|
tests: avoid some compiler warnings
* tests/test-memchr.c (main): Pass NULL indirectly.
* tests/test-closein.c (main): Avoid unused variable.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
e540ab7d
|
2008-09-15T13:38:19
|
|
Test for each of the missing macros individually.
|
|
20e00532
|
2008-09-15T12:26:17
|
|
Override <errno.h> also on Cygwin.
|
|
545a6f5a
|
2008-09-14T23:33:23
|
|
Abort the fstrcmp computation early when a lower bound has been given.
|
|
d7eadef6
|
2008-09-14T21:26:31
|
|
Simplify result computation.
|
|
4facad5a
|
2008-09-14T21:08:57
|
|
New function fstrcmp_bounded.
|
|
044cf1cc
|
2008-09-14T18:34:59
|
|
Add an "early abort" facility to diffseq.
|
|
17017b2d
|
2008-09-14T13:53:02
|
|
Tests for module 'perror'.
|
|
910b876a
|
2008-09-14T13:51:49
|
|
New module 'perror'.
|
|
3aa0d4da
|
2008-09-14T13:50:55
|
|
New module 'perror'.
|
|
4ce576ed
|
2008-09-14T13:00:15
|
|
Reorder list of macros, for consistency.
|
|
ce85bc7b
|
2008-09-14T12:36:24
|
|
Doc tweak.
|
|
f039648d
|
2008-09-14T04:32:44
|
|
Remove errno value definitions from <sys/socket.h>.
|
|
6c560a52
|
2008-09-14T04:18:44
|
|
Extend strerror to cover the added errno values.
|
|
0edd3615
|
2008-09-14T04:09:01
|
|
Remove module EOVERFLOW.
|
|
b5ae1440
|
2008-09-14T00:56:22
|
|
Remove module EOVERFLOW.
|
|
3b5404b2
|
2008-09-14T00:43:09
|
|
Tests for module 'errno'.
|
|
3d37b264
|
2008-09-14T00:41:33
|
|
New module 'errno'.
|
|
54898f0a
|
2008-09-13T12:37:06
|
|
Change the test for native Windows.
|
|
de13d0db
|
2008-09-13T12:23:29
|
|
Make glob work on mingw.
|
|
9036fbd9
|
2008-09-13T11:55:59
|
|
Don't redefine ETIMEDOUT on Solaris.
|
|
a7c16e4c
|
2008-09-12T20:20:38
|
|
fix test-poll compilation failure on Cygwin
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.
|
|
b03b6bfb
|
2008-09-12T16:12:44
|
|
port poll tests to Windows
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.
|
|
f9f61e25
|
2008-09-12T14:52:33
|
|
add a minimal testsuite for the poll module
2008-09-12 Paolo Bonzini <bonzini@gnu.org>
* modules/poll-tests: New.
* tests/test-poll.c: New.
|
|
314fcbb7
|
2008-09-12T06:52:41
|
|
frexp: test for NetBSD failure on -0.0
* m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Enhance test, since some, but
not all, bugs from NetBSD 3.0 have been fixed.
* doc/posix-functions/frexp.texi (frexp): Document bug.
Reported by Thomas Klausner.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
b5664d94
|
2008-09-12T06:30:32
|
|
signbit: work around bug of HP-UX 10.20 cc with -0.0 literal
* m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Rewrite test to avoid
literal -0.0.
Reported by Jonathan C. Patschke <jp@centtech.com>.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
69aaf488
|
2008-09-12T02:34:54
|
|
Use dummy implementation also if USE_WIN32_THREADS.
|
|
59c22c7e
|
2008-09-12T01:50:32
|
|
Consistent license terms for all the fnmatch modules.
|
|
2075aae4
|
2008-09-11T18:09:17
|
|
poll: fix polling unconnected server sockets on WIN32
2008-09-11 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
* lib/poll.c (poll): Fix polling unconnected server sockets on WIN32.
|
|
2493eaad
|
2008-09-11T12:06:36
|
|
* users.txt: Add gtk-vnc.
|
|
244a81a3
|
2008-09-08T14:08:44
|
|
restore x bit, sorry
|
|
aeaf6af6
|
2008-09-08T06:40:28
|
|
autoupdate
|
|
a3244aa7
|
2008-09-08T12:21:12
|
|
Fix attribution in last commit.
|
|
54c148b4
|
2008-09-08T12:18:02
|
|
bitrotate: Test 8/16-bit rotates with 0 and maximum rotate amounts.
|
|
e6f0227e
|
2008-09-08T12:15:14
|
|
bitrotate: Use UINT*_MAX constants. Doc string improvement.
|
|
afed9202
|
2008-09-07T23:20:21
|
|
Check behaviour when converting from UTF-7.
|
|
fd88b05d
|
2008-09-07T23:18:24
|
|
Make striconveh work better with stateful encodings.
|
|
24743e1d
|
2008-09-07T14:44:03
|
|
Update according to libtool-2.2.6.
|
|
a2b445a2
|
2008-09-06T13:58:21
|
|
Add conditional code for SLOW_BUT_NO_HACKS.
|
|
a889637c
|
2008-09-06T12:12:41
|
|
Relicense the getndelim2 dependencies under LGPLv2+.
|
|
ba2bafcf
|
2008-09-06T12:02:19
|
|
The getndelim2 relicensing was approved by everyone.
|
|
9d829626
|
2008-09-05T01:08:36
|
|
Oops, typo in comment.
|
|
323b3721
|
2008-09-05T01:07:02
|
|
Make gnulib-tool work with native 'sed' on AIX.
|
|
62c4adfc
|
2008-09-05T00:50:51
|
|
Add check whether #include_next also works after #include directives.
|
|
ec560ef5
|
2008-08-30T15:04:04
|
|
getdate.y: reject an out-of-range timezone value
* lib/getdate.y (time_zone_hhmm): Reject any TZ offset that is outside
the range [-24...+24]. When specified with only one or two digits,
* tests/test-getdate.c: Tests for the fix.
* doc/getdate.texi: Document this change.
|
|
73a86480
|
2008-09-04T00:45:45
|
|
Mention the 'strverscmp' module.
|
|
b729ee98
|
2008-09-02T16:59:57
|
|
bitrotate: Code improvements.
|
|
4316d00d
|
2008-09-02T15:53:09
|
|
bitrotate: Add 64-bit rotates.
Suggested by Bruce Korb <bruce.korb@gmail.com> with ideas from
Ben Pfaff <blp@cs.stanford.edu> and Bruno Haible <bruno@clisp.org>.
|
|
48f8acca
|
2008-09-01T21:28:44
|
|
vasnprintf-posix: handle large precision via %.*d
* lib/vasnprintf.c (VASNPRINTF): Don't pass precision to snprintf
when handling it ourselves.
* tests/test-vasnprintf-posix.c (test_function): Add test.
* tests/test-snprintf-posix.h (test_function): Likewise.
* tests/test-sprintf-posix.h (test_function): Likewise.
* tests/test-vasprintf-posix.c (test_function): Likewise.
Reported by Alain Guibert.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
95dd04d7
|
2008-09-01T19:59:38
|
|
c-stack: make configure-time check more robust
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check for
successful sigaction call.
Reported by Tom G. Christensen.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
30037de9
|
2008-09-02T02:08:57
|
|
New module 'findprog-lgpl'.
|
|
27dbed51
|
2008-09-02T01:34:21
|
|
New module 'xconcat-filename', split off from module 'concat-filename'.
|
|
be6c2737
|
2008-09-02T00:36:28
|
|
Split module 'filename' into 'filename' and 'concat-filename'.
|
|
e6a0d376
|
2008-09-01T13:55:05
|
|
bitrotate: Add 8 bit rotate functions.
|
|
ac5bd11a
|
2008-09-01T13:38:15
|
|
Fix last commit.
|
|
69009347
|
2008-09-01T09:27:04
|
|
Fix bitrotate module.
|
|
05f7bb5e
|
2008-08-31T23:23:49
|
|
Assume Solaris specific bi-arch conventions on Solaris systems.
|
|
4bb481ae
|
2008-08-31T17:34:24
|
|
* lib/strftime.h: Add comments describing the two added arguments.
|