|
cef82862
|
2007-08-22T14:04:30
|
|
* tests/test-getdelim.c (main): Use remove, not unlink.
* tests/test-getline.c (main): Likewise.
|
|
d68417c0
|
2007-08-22T12:54:21
|
|
Move getline and getdelim into stdio.h, per POSIX 200x.
* modules/getline (Files): Remove getline.h.
(Depends-on): Add stdio.
(configure.ac): Add module indicator.
* modules/getdelim (Files): Remove getdelim.h.
(Depends-on): Add stdio.
(configure.ac): Add module indicator.
* modules/stdio (Makefile.am): Work with new indicators.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Work with stdio needs.
* m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
* lib/getdelim.h: Delete.
* lib/getline.h: Delete.
* lib/stdio_.h (getdelim, getline): Declare.
* modules/getdelim-tests: New module.
* modules/getline-tests: Likewise.
* tests/test-getdelim.c: New file.
* tests/test-getline.c: Likewise.
* NEWS: Document the change.
* lib/getline.c: Update choice of header.
* lib/csharpcomp.c: Likewise.
* lib/getpass.c: Likewise.
* lib/javacomp.c: Likewise.
* lib/javaversion.c: Likewise.
* lib/yesno.c: Likewise.
* lib/getdelim.c: Likewise.
(getdelim): Set errno on failure, and avoid memory leak.
|
|
5bca97ae
|
2007-08-19T17:43:56
|
|
Tests for module 'freadahead'.
|
|
1cf55d29
|
2007-08-19T15:47:14
|
|
Test yesno in combination with closein.
* lib/yesno.c (yesno): Document use of stdin.
* modules/yesno-tests (Files): New module.
* tests/test-yesno.c (main): New file.
* tests/test-yesno.sh: Likewise.
|
|
757e397c
|
2007-08-19T09:10:56
|
|
Another lseek bug on BeOS.
|
|
a669764b
|
2007-08-18T17:09:47
|
|
Test of fuzzy string matching.
|
|
50236f7a
|
2007-08-10T19:07:06
|
|
* tests/test-xstrtoimax.sh (t-xstrtoimax.xo): Likewise.
* tests/test-xstrtoumax.sh (t-xstrtoumax.xo): Likewise.
|
|
e9c57721
|
2007-08-10T19:02:31
|
|
* NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal.
* lib/xstrtol.h: Don't include exitfail.h; that's now internal to
xstrtol.c. Include getopt.h, since xstrtol_fatal's signature
depends on it.
(xstrtol_error): Remove.
(xstrtol_fatal): New decl, replacing the functionality of xstrtol_error
but with a different signature.
(ATTRIBUTE_NORETURN, __attribute__): New macros.
* lib/xstrtol-error.c: Include exitfail.h.
(xstrtol_fatal): New function, with a different signature from the
old xstrtol_error, so that the caller need not worry about passing
in an exit status, or about storage management of the option argument.
(xstrtol_error): Now a static function. Redo signature to
implement xstrtol_fatal. Output the correct number of hyphens in
front of the option so that the caller need not worry about
storage management.
(N_): New macro.
(_): Remove; not used now.
* modules/xstrtol: Depend on getopt.
* tests/test-xstrtol.c (main): Use new xstrtol_error function instead
of old STRTOL_FATAL_ERROR macro.
* tests/test-xstrtol.sh (t-xstrtol.xo): Adjust to match new behavior
of test program.
|
|
c7110f3b
|
2007-08-08T12:45:54
|
|
Move xstrtol messages into gnulib domain, when --pobase is used.
* lib/xstrtol.h (_STRTOL_ERROR): Move messages out of macro...
* lib/xstrtol-error.c (xstrtol_error): ...into new file.
* modules/xstrtol (Files): Distribute new file.
* m4/xstrtol.m4 (gl_XSTRTOL): Build new file.
* lib/xstrtol.c (TESTING_XSTRTO): Move tests...
* tests/test-xstrtol.c: ...into new file.
* tests/test-xstrtoul.c: Also test xstrtoul.
* tests/test-xstrtoimax.c: Also test xstrtoimax.
* tests/test-xstrtoumax.c: Also test xstrtoumax.
* tests/test-xstrtol.sh: Drive the tests.
* tests/test-xstrtoimax.sh: Likewise.
* tests/test-xstrtoumax.sh: Likewise.
* modules/xstrtol-tests: New module.
* modules/xstrtoimax-tests: Likewise.
* modules/xstrtoumax-tests: Likewise.
|
|
e9cfd9f2
|
2007-07-25T03:13:19
|
|
Improve name: "count-one-bits" is better than "popcount".
* MODULES.html.sh: Update name.
* lib/popcount.h: Renamed lib/count-one-bits.h.
(popcount): Renamed count_one_bits.
(popcountl): Renamed count_one_bits_l.
(popcountll): Renamed count_one_bits_ll.
* m4/popcount.m4: Renamed m4/count-one-bits.m4.
* modules/popcount: Renamed module/count-one-bits.
* modules/popcount-tests: Renamed module/count-one-bits-tests.
* tests/test-popcount.c: Renamed tests/test-count-one-bits.c.
|
|
da8a3eac
|
2007-07-23T00:21:20
|
|
New module: popcount.
* MODULES.html.sh: Add popcount.
* modules/popcount: New file.
* modules/popcount-tests: New file.
* tests/test-popcount.c: New file.
* lib/popcount.h: New file.
* m4/popcount.m4: New file.
|
|
0b34902e
|
2007-07-08T11:59:51
|
|
Update to Unicode 5.0.
|
|
7d084f9e
|
2007-07-07T21:39:09
|
|
Tests for module 'wcwidth'.
|
|
c7a9d838
|
2007-07-07T16:28:30
|
|
Tests for module 'uniwidth/u32-strwidth'.
|
|
8a89913e
|
2007-07-07T16:26:55
|
|
Tests for module 'uniwidth/u16-strwidth'.
|
|
88c17eb1
|
2007-07-07T16:25:17
|
|
Tests for module 'uniwidth/u8-strwidth'.
|
|
f8b39ef7
|
2007-07-07T16:22:35
|
|
Tests for module 'uniwidth/u32-width'.
|
|
83865790
|
2007-07-07T16:21:27
|
|
Tests for module 'uniwidth/u16-width'.
|
|
2082dd61
|
2007-07-07T16:19:55
|
|
Tests for module 'uniwidth/u8-width-tests'.
|
|
e3c312ed
|
2007-07-07T16:17:48
|
|
Tests for module 'uniwidth/width'.
|
|
919363c0
|
2007-07-07T12:49:35
|
|
New modules uniname/base and uniname/uniname.
|
|
b432ad19
|
2007-07-06T14:22:21
|
|
Fix testing canonicalize on cygwin.
* modules/canonicalize-lgpl-tests (test_canonicalize_lgpl_LDADD):
Revert patch from 2007-06-19.
* tests/test-canonicalize-lgpl.c (main): Instead, skip test when
canonicalize module is also in use.
* tests/test-canonicalize.c: New file.
* tests/test-canonicalize.sh: Likewise.
* modules/canonicalize-tests: Likewise.
|
|
2625ca90
|
2007-07-02T01:34:46
|
|
Formatted output functions for Unicode strings.
|
|
a02ec12d
|
2007-06-23T11:20:11
|
|
Make use of ksh's 'print' built-in.
|
|
79c6120f
|
2007-06-23T10:14:04
|
|
Tweak comment.
|
|
47b0bff3
|
2007-06-23T09:52:08
|
|
Add better support for bash versions < 2.04.
|
|
dbb82d29
|
2007-06-23T02:02:04
|
|
Test for the 'echo' command from gnulib-tool.
|
|
692c362e
|
2007-06-09T21:51:11
|
|
Tests for module 'uniconv/u32-conv-to-enc'.
|
|
0586925d
|
2007-06-09T21:50:29
|
|
Tests for module 'uniconv/u16-conv-to-enc'.
|
|
b405c3b9
|
2007-06-09T21:49:07
|
|
Tests for module 'uniconv/u8-conv-to-enc'.
|
|
898f558e
|
2007-06-09T21:43:24
|
|
Remove unused and pointless code.
|
|
51a8911a
|
2007-06-09T11:02:52
|
|
Move to test-malloca.c.
|
|
988b3d18
|
2007-06-09T11:02:48
|
|
Move to here from test-allocsa.c.
|
|
555c3d66
|
2007-06-09T01:27:49
|
|
Add support for uClibc 0.9.29.
|
|
696055f8
|
2007-06-07T20:04:27
|
|
Tests for module 'localename'.
|
|
ee6d9baa
|
2007-06-06T02:20:57
|
|
Fix *printf so that it recognizes non-IEEE numbers on i386, x86_64, ia64.
|
|
0c5d8a34
|
2007-06-06T02:02:41
|
|
Recognize non-IEEE numbers on i386, x86_64, ia64.
|
|
b16230b7
|
2007-06-04T22:58:09
|
|
Avoid test failures on some PowerPC hardwares.
|
|
6e64ec2e
|
2007-06-02T01:55:30
|
|
Attempt to fix a test failure on Solaris (open fails with EACCES).
|
|
40a871a5
|
2007-06-02T00:42:13
|
|
Don't work around an lseek POSIX compliance bug on IRIX.
|
|
7b090334
|
2007-05-31T03:21:00
|
|
Work around mingw test failures exposed by m4-1.4.9b.
* m4/stdint.m4 (gl_STDINT_H): Detect mingw bug.
* tests/test-unistd.c: Disable uid_t and git_t tests for the
moment.
|
|
136c0c98
|
2007-05-31T01:09:03
|
|
Explicitly close file descriptors where needed.
|
|
07a3879b
|
2007-05-30T00:41:42
|
|
Disable some tests for the moment.
|
|
789aa657
|
2007-05-28T17:17:33
|
|
Assume <config.h> exists.
|
|
c0fea97c
|
2007-05-28T16:49:41
|
|
Unconditionally include <config.h> in unit tests.
* tests/test-alloca-opt.c: Remove #ifdef HAVE_CONFIG_H.
* tests/test-allocsa.c, tests/test-arcfour.c,
tests/test-arctwo.c, tests/test-argmatch.c, tests/test-argp.c,
tests/test-array_list.c, tests/test-array_oset.c,
tests/test-atexit.c, test-avltree_list.c, test-avltree_oset.c,
test-avltreehash_list.c, test-base64.c, test-binary-io.c,
test-c-ctype.c, test-c-strcasecmp.c, test-c-strcasestr.c,
test-c-strncasecmp.c, test-c-strstr.c, test-canonicalize-lgpl.c,
test-carray_list.c, test-crc.c, test-des.c, test-dirname.c,
test-fflush.c, test-fprintf-posix.c, test-gc-arcfour.c,
test-gc-arctwo.c, test-gc-des.c, test-gc-hmac-md5.c,
test-gc-hmac-sha1.c, test-gc-md2.c, test-gc-md4.c, test-gc-md5.c,
test-gc-pbkdf2-sha1.c, test-gc-rijndael.c, test-gc-sha1.c,
test-gc.c, test-getpass.c, test-hmac-md5.c, test-hmac-sha1.c,
test-iconv.c, test-linked_list.c, test-linkedhash_list.c,
test-lock.c, test-mbscasecmp.c, test-mbscasestr1.c,
test-mbscasestr2.c, test-mbscasestr3.c, test-mbscasestr4.c,
test-mbschr.c, test-mbscspn.c, test-mbsncasecmp.c, test-mbspbrk.c,
test-mbspcasecmp.c, test-mbsrchr.c, test-mbsspn.c, test-mbsstr1.c,
test-mbsstr2.c, test-mbsstr3.c, test-md2.c, test-md4.c,
test-md5.c, test-memmem.c, test-printf-posix.c,
test-rbtree_list.c, test-rbtree_oset.c, test-rbtreehash_list.c,
test-read-file.c, test-rijndael.c, test-snprintf-posix.c,
test-snprintf.c, test-sprintf-posix.c, test-stdint.c,
test-strcasestr.c, test-striconv.c, test-striconveh.c,
test-striconveha.c, test-tls.c, test-vasnprintf-posix.c,
test-vasnprintf-posix2.c, test-vasnprintf.c,
test-vasprintf-posix.c, test-vasprintf.c, test-verify.c,
test-vfprintf-posix.c, test-vprintf-posix.c,
test-vsnprintf-posix.c, test-vsnprintf.c, test-vsprintf-posix.c,
test-xvasprintf.c: Likewise.
|
|
2e7980e7
|
2007-05-28T15:16:56
|
|
Tests for module 'ftell'.
|
|
bb9cffd5
|
2007-05-28T15:07:41
|
|
Tests for module 'fseek'.
|
|
d2d77c0e
|
2007-05-28T12:43:30
|
|
Improve lseek module.
* lib/lseek.c (rpl_lseek): Detect EBADF on mingw.
* lib/unistd_.h (lseek): Scale back link warning message.
* tests/test-lseek.c: Beef up test.
* tests/test-lseek.sh: Exercise more facets of lseek.
Reported by Bruno Haible.
|
|
af9f82f9
|
2007-05-28T12:36:21
|
|
Test some types.
|
|
e461ff73
|
2007-05-24T16:59:20
|
|
Fix lseek on mingw.
* modules/lseek: New module.
* m4/lseek.m4: New file.
* lib/lseek.c: New file.
* modules/lseek-tests: New file.
* tests/test-lseek.c: New file.
* tests/test-lseek.sh: New file.
* MODULES.html.sh: Document lseek module.
* modules/fflush (Depends-on): Add lseek, fseeko.
* modules/fseeko (Depends-on): Likewise.
* modules/ftello (Depends-on): Likewise.
* m4/fseeko.m4 (gl_FUNC_FSEEKO): Replace fseek[o] if lseek is
broken.
* m4/ftello.m4 (gl_FUNC_FTELLO): Replace ftell[o] if lseek is
broken.
* m4/fflush.m4 (gl_REPLACE_FFLUSH): Trigger fseeko module.
* lib/fseeko.c (rpl_fseeko): Quit early on non-seekable files.
* lib/ftello.c (rpl_ftello): Likewise.
* tests/test-fseeko.c (main): Test this.
* tests/test-fseeko.sh: Likewise.
* tests/test-ftello.c (main): Likewise.
* tests/test-ftello.sh: Likewise.
* lib/stdio_.h (fseek, ftell): Simplify, since missing fseeko now
implies replacing fseek.
* modules/stdio (Makefile.am): No longer need HAVE_FSEEKO,
HAVE_FTELLO.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add lseek info.
* modules/unistd (Makefile.am): Likewise.
* lib/unistd_.h (lseek): Declare a replacement.
* doc/functions/lseek.texi (lseek): Document this fix.
* doc/functions/fseek.texi (fseek): Likewise.
* doc/functions/ftell.texi (ftell): Likewise.
|
|
dcbb9e70
|
2007-05-24T10:10:51
|
|
Allow for a longer printed representation of NaN.
|
|
cec93e99
|
2007-05-24T03:53:37
|
|
Fix fseeko/ftello on cygwin 1.5.24.
* doc/functions/fseeko.texi (fseeko): Document the fix.
* doc/functions/ftello.texi (ftello): Document the fix.
* doc/functions/stdin.texi (stdin): Document the cygwin bug.
* doc/functions/stdout.text (stdout): New file.
* doc/functions/stderr.text (stderr): New file.
* doc/gnulib.texi (Function Substitutes): Use new files.
* tests/test-fseeko.c (main): Check for broken fseeko on cygwin
prior to 1.7.0.
* tests/test-ftello.c (main): Likewise for ftello.
* tests/test-fseeko.sh: New file.
* tests/test-ftello.sh: New file.
* modules/fseeko-tests (Makefile.am): Ensure test-fseeko is run
with seekable stdin.
* modules/ftello-tests (Makefile.am): Likewise for test-ftello.
* m4/fseeko.m4 (gl_FUNC_FSEEKO): Detect the cygwin bug.
(gl_REPLACE_FSEEKO): New macro.
* m4/ftello.m4 (gl_FUNC_FTELLO, gl_REPLACE_FTELLO): Likewise.
* modules/fseeko (Files): Distribute fseeko.c.
* modules/ftello (Files): Distribute ftello.c.
* lib/fseeko.c (rpl_fseeko) [__CYGWIN__]: Convert stdin to 64-bit
mode.
* lib/ftello.c (rpl_ftello): New file.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Allow replacement of
fseeko, ftello.
(gl_STDIN_LARGE_OFFSET): New macro.
* modules/stdio (Makefile.am): Perform the replacement.
* lib/stdio_.h (rpl_fseeko, rpl_ftello): Define when needed.
|
|
17ccaa9d
|
2007-05-22T01:07:46
|
|
Stricter check for printf result for NaN arguments.
|
|
90645850
|
2007-05-20T08:12:26
|
|
Avoid test failures on some versions of HP-UX 11.
|
|
e10764b1
|
2007-05-19T22:57:58
|
|
Avoid test failures on platforms where -0.0 and 0.0 are identical.
|
|
e81beb20
|
2007-05-19T22:30:24
|
|
Avoid test failures on IRIX 6.5.
|
|
b65d227a
|
2007-05-19T22:22:21
|
|
Avoid test failures on IRIX 6.5.
|
|
b2be134b
|
2007-05-19T15:28:02
|
|
Avoid test failures on mingw.
|
|
cf853861
|
2007-05-19T10:22:11
|
|
Accomodate for implementations that produce 3 exponent digits in %e and %g.
|
|
48e570fe
|
2007-05-18T23:37:50
|
|
Add tests for %e and %g directives.
|
|
13123792
|
2007-05-18T22:10:17
|
|
More tests of printf %f.
|
|
85837d61
|
2007-05-17T09:18:53
|
|
Renamed test-fprintf-posix.out to test-printf-posix.output.
|
|
0a4d9780
|
2007-05-17T09:07:35
|
|
Move to test-printf-posix.output.
|
|
70f2c04b
|
2007-05-17T09:07:32
|
|
Move to here from test-fprintf-posix.out.
|
|
e9bb2308
|
2007-05-06T23:02:10
|
|
Work around an incorrect implementation of the 0 flag on most platforms.
|
|
2bb894ab
|
2007-05-06T15:29:04
|
|
Work around lack of support of grouping flag.
|
|
69868c22
|
2007-05-05T11:41:20
|
|
Avoid a test failure on mingw.
|
|
d817cc5f
|
2007-05-01T22:17:02
|
|
Tests for module 'sleep'.
|
|
8e742963
|
2007-04-30T08:26:26
|
|
Restore #include "progname.h"
|
|
12dbbc0a
|
2007-04-30T08:26:11
|
|
(usage-indent test): Fix output
(func_compare): Restore diff options
|
|
f227e78a
|
2007-04-29T15:40:30
|
|
Guard against vsnprintf implementations that mishandle a size=0 argument.
|
|
a7ebfd1c
|
2007-04-29T12:04:15
|
|
Update
|
|
a75a52bb
|
2007-04-29T12:02:45
|
|
Fix option ordering. Test deeply clustered options.
|
|
2ca2dd68
|
2007-04-29T11:06:56
|
|
Make test a bit easier to debug.
|
|
75d14636
|
2007-04-29T09:15:13
|
|
Better ASSERT macro.
|
|
17fecfc4
|
2007-04-29T08:38:22
|
|
freading has an undefined value after repositioning a read-write stream.
|
|
a5b4689f
|
2007-04-29T07:44:02
|
|
Oops, fix details and comments of last patch.
|
|
503e2514
|
2007-04-29T02:07:56
|
|
Make the tests sharper: also test the interaction with fflush().
|
|
5c323b50
|
2007-04-27T17:14:39
|
|
Fix closein for mingw.
* modules/closein-tests: Add tests for closein.
* tests/test-closein.c: New file.
* tests/test-closein.sh: Likewise.
* lib/unistd_.h [!SEEK_CUR]: Mingw also needs stdlib.h for _exit.
* lib/closein.c (close_stdin): Don't fflush non-seekable streams.
|
|
e7e8418d
|
2007-04-27T10:59:36
|
|
Relax test, to avoid failure on mingw.
|
|
a8f95644
|
2007-04-26T13:16:50
|
|
Implement freading and fwriting.
* lib/freading.c: New file.
* lib/freading.h: Likewise.
* m4/freading.m4: Likewise.
* modules/freading: Likewise.
* modules/freading-tests: Likewise.
* tests/test-freading.c: Likewise.
* lib/fwriting.c: New file.
* lib/fwriting.h: Likewise.
* m4/fwriting.m4: Likewise.
* modules/fwriting: Likewise.
* modules/fwriting-tests: Likewise.
* tests/test-fwriting.c: Likewise.
* MODULES.html.sh (File stream based Input/Output): Mention them.
|
|
0a786d25
|
2007-04-26T09:25:05
|
|
On BSD implementations, when we call lseek(), we must also update or disable
the stream's file descriptor position cache.
|
|
a507c022
|
2007-04-25T13:22:15
|
|
* lib/fpurge.c (includes): Use stdlib.h for free.
* tests/test-fflush.c (main): Also test fflush-fseeko.
|
|
25b5e5c4
|
2007-04-25T07:52:28
|
|
Tests for module 'ftello'.
|
|
781e3fd7
|
2007-04-25T07:40:58
|
|
Tests for module 'fseeko'.
|
|
5a86df4f
|
2007-04-25T06:46:57
|
|
Ensure that <unistd.h> and <fcntl.h> define SEEK_CUR etc.
|
|
66b59979
|
2007-04-23T07:56:34
|
|
Be prepared to a failure of setvbuf.
|
|
f9e1b15b
|
2007-04-14T00:26:03
|
|
Tests for module 'fpurge'.
|
|
cc778c76
|
2007-04-14T00:21:05
|
|
Tests for module 'fbufmode'.
|
|
384cc955
|
2007-04-14T00:15:48
|
|
Tests for module 'fwritable'.
|
|
0d0c8aa9
|
2007-04-14T00:11:40
|
|
Tests for module 'freadable'.
|
|
d6f27950
|
2007-04-13T16:56:08
|
|
Add tests for %f and %F directives.
|
|
3d17c282
|
2007-04-13T10:56:10
|
|
Guard against FreeBSD 6.1 bug.
|
|
f1d7a8f4
|
2007-04-11T00:24:01
|
|
Guard against FreeBSD 6.1 bug.
|
|
870a56a1
|
2007-04-10T23:42:43
|
|
Tests for module 'locale'.
|
|
0c47a3bb
|
2007-04-10T03:09:07
|
|
* lib/stdio_.h [REPLACE_FFLUSH]: Declare rpl_fflush.
* modules/stdio (Makefile.am): Support fflush.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* modules/fflush: New file.
* lib/fflush.c: Likewise.
* m4/fflush.m4: Likewise.
* modules/fflush-tests: New test.
* tests/test-fflush.c: Likewise.
* MODULES.html.sh (Input/output <stdio.h>): Document new module.
|
|
5d7e7dd7
|
2007-04-06T21:15:32
|
|
Test also the sign bit of zero results.
|
|
793bb37e
|
2007-04-06T20:57:56
|
|
Tests for module 'signbit'.
|
|
188ada9d
|
2007-04-06T20:20:46
|
|
Tests for module 'isnanf-nolibm'.
|
|
9f88c0b0
|
2007-04-06T14:36:56
|
|
Assume 'long double' exists.
|