Bruno Haible [Tue, 1 May 2007 22:32:06 +0000 (22:32 +0000)]
Redundant through doc/functions/*.texi.
Bruno Haible [Tue, 1 May 2007 22:20:41 +0000 (22:20 +0000)]
arp depends on sleep.
Bruno Haible [Tue, 1 May 2007 22:17:02 +0000 (22:17 +0000)]
Tests for module 'sleep'.
Bruno Haible [Tue, 1 May 2007 22:15:01 +0000 (22:15 +0000)]
New module 'sleep'.
Bruno Haible [Tue, 1 May 2007 21:02:01 +0000 (21:02 +0000)]
'exec' and 'toc' are not functions.
Bruno Haible [Tue, 1 May 2007 19:24:43 +0000 (19:24 +0000)]
Mention non-portability to Interix 3.5.
Bruno Haible [Tue, 1 May 2007 19:20:18 +0000 (19:20 +0000)]
sigprocmask.h is replaced with <signal.h>.
Bruno Haible [Tue, 1 May 2007 18:49:26 +0000 (18:49 +0000)]
New module 'signal'.
Bruno Haible [Tue, 1 May 2007 18:21:31 +0000 (18:21 +0000)]
Make the generated wctype.h more self-contained.
Bruno Haible [Tue, 1 May 2007 18:14:44 +0000 (18:14 +0000)]
Make the generated sys/stat.h more self-contained.
Bruno Haible [Tue, 1 May 2007 18:08:51 +0000 (18:08 +0000)]
Tweak last patch.
Bruno Haible [Tue, 1 May 2007 17:59:19 +0000 (17:59 +0000)]
Mention non-portability to Interix 3.5.
Bruno Haible [Tue, 1 May 2007 15:48:24 +0000 (15:48 +0000)]
Make the generated glob.h self-contained.
Bruno Haible [Tue, 1 May 2007 15:33:25 +0000 (15:33 +0000)]
Don't mention the 'assert' module here.
It's documented in functions/assert.texi.
Bruno Haible [Tue, 1 May 2007 15:14:20 +0000 (15:14 +0000)]
Add doc chapter about the POSIX functions.
Bruno Haible [Tue, 1 May 2007 15:12:21 +0000 (15:12 +0000)]
Ranking of functions according to their number of hits on Google codesearch.
Bruno Haible [Tue, 1 May 2007 15:11:37 +0000 (15:11 +0000)]
Documentation of what gnulib provides for each function.
Bruno Haible [Tue, 1 May 2007 14:03:44 +0000 (14:03 +0000)]
There is no POSIX function called 'exec'.
Bruno Haible [Tue, 1 May 2007 13:53:42 +0000 (13:53 +0000)]
There is no POSIX function named 'toc'.
Bruno Haible [Tue, 1 May 2007 10:42:29 +0000 (10:42 +0000)]
Depend on sys_stat, since it fixes an mkdir portability problem.
Bruno Haible [Tue, 1 May 2007 08:21:00 +0000 (08:21 +0000)]
Ranking of include files according to their number of hits on Google
codesearch.
Eric Blake [Mon, 30 Apr 2007 12:00:07 +0000 (12:00 +0000)]
Prefer fseeko to fseek.
* modules/getpass (Depends-on): Add fseeko.
* lib/getpass.c (getpass): Use fseeko, not fseek.
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:42 +0000 (08:26 +0000)]
Update
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:26 +0000 (08:26 +0000)]
Restore #include "progname.h"
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:11 +0000 (08:26 +0000)]
(usage-indent test): Fix output
(func_compare): Restore diff options
Sergey Poznyakoff [Mon, 30 Apr 2007 08:25:46 +0000 (08:25 +0000)]
(hol_entry_cmp): Option sorting algorithm
assumes the sorting is stable, while most qsort implementations
are not. Use argument addresses to ensure they never compare as
equal.
Bruno Haible [Sun, 29 Apr 2007 15:40:30 +0000 (15:40 +0000)]
Guard against vsnprintf implementations that mishandle a size=0 argument.
Bruno Haible [Sun, 29 Apr 2007 15:33:25 +0000 (15:33 +0000)]
There is no POSIX function called 'contents'.
Bruno Haible [Sun, 29 Apr 2007 13:50:12 +0000 (13:50 +0000)]
Don't blame me for a change that I didn't suggest.
Karl Berry [Sun, 29 Apr 2007 13:35:40 +0000 (13:35 +0000)]
gendocs_template_min
Bruno Haible [Sun, 29 Apr 2007 12:16:55 +0000 (12:16 +0000)]
Work around fpurge bug on BSD systems.
Sergey Poznyakoff [Sun, 29 Apr 2007 12:04:15 +0000 (12:04 +0000)]
Update
Sergey Poznyakoff [Sun, 29 Apr 2007 12:02:45 +0000 (12:02 +0000)]
Fix option ordering. Test deeply clustered options.
Sergey Poznyakoff [Sun, 29 Apr 2007 12:02:27 +0000 (12:02 +0000)]
(hol_cluster_cmp): Reverse comparison. Change proposed by Sven Verdoolaege.
Bruno Haible [Sun, 29 Apr 2007 11:06:56 +0000 (11:06 +0000)]
Make test a bit easier to debug.
Bruno Haible [Sun, 29 Apr 2007 09:15:13 +0000 (09:15 +0000)]
Better ASSERT macro.
Bruno Haible [Sun, 29 Apr 2007 08:38:22 +0000 (08:38 +0000)]
freading has an undefined value after repositioning a read-write stream.
Bruno Haible [Sun, 29 Apr 2007 08:24:53 +0000 (08:24 +0000)]
Trivial simplification.
Bruno Haible [Sun, 29 Apr 2007 07:44:02 +0000 (07:44 +0000)]
Oops, fix details and comments of last patch.
Bruno Haible [Sun, 29 Apr 2007 02:07:56 +0000 (02:07 +0000)]
Make the tests sharper: also test the interaction with fflush().
Bruno Haible [Sat, 28 Apr 2007 23:02:00 +0000 (23:02 +0000)]
Warn when fseek or ftell are used.
Paul Eggert [Sat, 28 Apr 2007 18:05:58 +0000 (18:05 +0000)]
Avoid false-negative in gl_STDINT_H's C99 conformance test.
* m4/stdint.m4 (gl_STDINT_H): When checking whether stdint.h conforms
to C99, include all of gl_STDINT_INCLUDES, not just <stddef.h>.
Bruno Haible [Fri, 27 Apr 2007 22:54:42 +0000 (22:54 +0000)]
texinfo syntax fix.
Bruno Haible [Fri, 27 Apr 2007 21:04:08 +0000 (21:04 +0000)]
Add reference to POSIX.
Eric Blake [Fri, 27 Apr 2007 20:06:05 +0000 (20:06 +0000)]
* doc/headers/assert.texi (assert.h): Document assert module use.
Bruno Haible [Fri, 27 Apr 2007 19:58:36 +0000 (19:58 +0000)]
Bump year.
Bruno Haible [Fri, 27 Apr 2007 19:58:15 +0000 (19:58 +0000)]
Add doc chapter about the POSIX header files.
Bruno Haible [Fri, 27 Apr 2007 19:57:14 +0000 (19:57 +0000)]
Documentation of what gnulib provides for each header file.
Bruno Haible [Fri, 27 Apr 2007 18:24:50 +0000 (18:24 +0000)]
Renamed socket_.h to sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:23:01 +0000 (18:23 +0000)]
Rename lib/sysexit_.h to lib/sysexits_.h.
Bruno Haible [Fri, 27 Apr 2007 18:22:26 +0000 (18:22 +0000)]
Move to sysexits_.h.
Bruno Haible [Fri, 27 Apr 2007 18:22:23 +0000 (18:22 +0000)]
Move to here from sysexit_.h.
Bruno Haible [Fri, 27 Apr 2007 18:20:56 +0000 (18:20 +0000)]
Rename lib/socket_.h to lib/sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:19:58 +0000 (18:19 +0000)]
Move to sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:19:55 +0000 (18:19 +0000)]
Move to here from socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:18:49 +0000 (18:18 +0000)]
Rename lib/stat_.h to lib/sys_stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:17:09 +0000 (18:17 +0000)]
Move to sys_stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:17:05 +0000 (18:17 +0000)]
Move to here from stat_.h.
Eric Blake [Fri, 27 Apr 2007 18:05:08 +0000 (18:05 +0000)]
* lib/freading.h: Improve comments.
* lib/fwriting.h: Likewise.
* lib/fflush.c: Likewise.
Eric Blake [Fri, 27 Apr 2007 17:14:39 +0000 (17:14 +0000)]
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.
Bruno Haible [Fri, 27 Apr 2007 11:29:43 +0000 (11:29 +0000)]
I'm not responsible for these modules.
Bruno Haible [Fri, 27 Apr 2007 11:09:11 +0000 (11:09 +0000)]
OSF/1 "cc -nodtk" does not support #include_next.
Bruno Haible [Fri, 27 Apr 2007 10:59:36 +0000 (10:59 +0000)]
Relax test, to avoid failure on mingw.
Bruno Haible [Fri, 27 Apr 2007 10:57:31 +0000 (10:57 +0000)]
Tests depends on correct fflush on input streams.
Bruno Haible [Fri, 27 Apr 2007 10:56:51 +0000 (10:56 +0000)]
More comments.
Ralf Wildenhues [Thu, 26 Apr 2007 22:24:34 +0000 (22:24 +0000)]
* m4/argz.m4 (gl_FUNC_ARGZ): Use !HAVE_WORKING_ARGZ instead of
SYSTEM_ARGZ_IS_BROKEN. Also, minor stylistic improvements.
Report by Bruno Haible <bruno@clisp.org>.
Karl Berry [Thu, 26 Apr 2007 22:14:45 +0000 (22:14 +0000)]
update from texinfo
Karl Berry [Thu, 26 Apr 2007 17:18:47 +0000 (17:18 +0000)]
gendocs_template conform to current gnu web style
Eric Blake [Thu, 26 Apr 2007 13:20:50 +0000 (13:20 +0000)]
Fix fflush on mingw.
* modules/fflush (Depends-on): Add freading.
* lib/fflush.c (rpl_fflush): Use freading to avoid losing buffered
but unread data.
Eric Blake [Thu, 26 Apr 2007 13:16:50 +0000 (13:16 +0000)]
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.
Bruno Haible [Thu, 26 Apr 2007 09:42:29 +0000 (09:42 +0000)]
Verify that off_t is the same size as long when we assume it.
Bruno Haible [Thu, 26 Apr 2007 09:33:12 +0000 (09:33 +0000)]
Ensure fseeko and ftello are declared on glibc systems.
Bruno Haible [Thu, 26 Apr 2007 09:25:05 +0000 (09:25 +0000)]
On BSD implementations, when we call lseek(), we must also update or disable
the stream's file descriptor position cache.
Bruno Haible [Thu, 26 Apr 2007 08:20:30 +0000 (08:20 +0000)]
The test now uses fseeko.
Ralf Wildenhues [Wed, 25 Apr 2007 21:18:41 +0000 (21:18 +0000)]
* lib/argz_.h: ensure error_t definition is obtained in same
mechanism system argz.h would have.
* m4/argz.m4 (gl_FUNC_ARGZ): add new test to check if $host's
argz facilities are known bad. Err on the side of caution if
cross-compiling.
Eric Blake [Wed, 25 Apr 2007 13:22:15 +0000 (13:22 +0000)]
* lib/fpurge.c (includes): Use stdlib.h for free.
* tests/test-fflush.c (main): Also test fflush-fseeko.
Bruno Haible [Wed, 25 Apr 2007 09:14:49 +0000 (09:14 +0000)]
Make the combination of fflush and fseek/fseeko POSIX compliant.
Bruno Haible [Wed, 25 Apr 2007 07:56:32 +0000 (07:56 +0000)]
Depend on ftello.
Bruno Haible [Wed, 25 Apr 2007 07:52:28 +0000 (07:52 +0000)]
Tests for module 'ftello'.
Bruno Haible [Wed, 25 Apr 2007 07:51:53 +0000 (07:51 +0000)]
New module 'ftello'.
Bruno Haible [Wed, 25 Apr 2007 07:40:58 +0000 (07:40 +0000)]
Tests for module 'fseeko'.
Bruno Haible [Wed, 25 Apr 2007 07:39:55 +0000 (07:39 +0000)]
New module 'fseeko'.
Bruno Haible [Wed, 25 Apr 2007 07:09:29 +0000 (07:09 +0000)]
fflush & GNULIB_POSIXCHECK.
Bruno Haible [Wed, 25 Apr 2007 06:46:57 +0000 (06:46 +0000)]
Ensure that <unistd.h> and <fcntl.h> define SEEK_CUR etc.
Eric Blake [Mon, 23 Apr 2007 12:49:50 +0000 (12:49 +0000)]
* lib/fflush.c: Fix missing include.
Reported by Bruno Haible.
Bruno Haible [Mon, 23 Apr 2007 08:47:17 +0000 (08:47 +0000)]
Free a malloc()ed ungetc buffer.
Bruno Haible [Mon, 23 Apr 2007 08:01:35 +0000 (08:01 +0000)]
Port to Solaris/SPARC64.
Bruno Haible [Mon, 23 Apr 2007 07:58:06 +0000 (07:58 +0000)]
Don't hardcode the value of _IOERR.
Bruno Haible [Mon, 23 Apr 2007 07:56:34 +0000 (07:56 +0000)]
Be prepared to a failure of setvbuf.
Eric Blake [Tue, 17 Apr 2007 03:38:08 +0000 (03:38 +0000)]
Make fflush rely on fpurge.
* lib/fflush.c (rpl_fflush): Rely on fpurge module, rather than
open coding all variants.
* modules/fflush (Depends-on): Add fpurge and unistd.
* modules/fflush-tests (Depends-on): Unistd is no longer extra.
* m4/fflush.m4 (gl_REPLACE_FFLUSH): Simplify.
Eric Blake [Tue, 17 Apr 2007 03:38:08 +0000 (03:38 +0000)]
Make fflush rely on fpurge.
* lib/fflush.c (rpl_fflush): Rely on fpurge module, rather than
open coding all variants.
* modules/fflush (Depends-on): Add fpurge and unistd.
* modules/fflush-tests (Depends-on): Unistd is no longer extra.
* m4/fflush.m4 (gl_REPLACE_FFLUSH): Simplify.
Eric Blake [Mon, 16 Apr 2007 22:58:16 +0000 (22:58 +0000)]
Fix --with-tests compilation on cygwin.
* modules/argmatch-tests (Makefile.am): List gnulib library first
in LDADD.
* modules/argp-tests (Makefile.am): Likewise.
* modules/array-list-tests (Makefile.am): Likewise.
* modules/array-oset-tests (Makefile.am): Likewise.
* modules/avltree-list-tests (Makefile.am): Likewise.
* modules/avltree-oset-tests (Makefile.am): Likewise.
* modules/avltreehash-list-tests (Makefile.am): Likewise.
* modules/carray-list-tests (Makefile.am): Likewise.
* modules/dirname-tests (Makefile.am): Likewise.
* modules/frexp-tests (Makefile.am): Likewise.
* modules/isnanl-tests (Makefile.am): Likewise.
* modules/linked-list-tests (Makefile.am): Likewise.
* modules/linkedhash-list-tests (Makefile.am): Likewise.
* modules/lock-tests (Makefile.am): Likewise.
* modules/rbtree-list-tests (Makefile.am): Likewise.
* modules/rbtree-oset-tests (Makefile.am): Likewise.
* modules/rbtreehash-list-tests (Makefile.am): Likewise.
* modules/tls-tests (Makefile.am): Likewise.
* modules/tsearch-tests (Makefile.am): Likewise.
* modules/xvasprintf-tests (Makefile.am): Likewise.
Eric Blake [Mon, 16 Apr 2007 15:02:36 +0000 (15:02 +0000)]
Fix fpurge for cygwin.
* lib/fpurge.c (fpurge): Fix order of operation flub, and return a
value.
* modules/fpurge-tests (Depends-on): Clean up trash.
Simon Josefsson [Mon, 16 Apr 2007 13:14:21 +0000 (13:14 +0000)]
2007-04-16 Simon Josefsson <simon@josefsson.org>
* lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings.
Simon Josefsson [Mon, 16 Apr 2007 08:31:07 +0000 (08:31 +0000)]
* m4/autobuild.m4: Re-indent.
Bruno Haible [Sat, 14 Apr 2007 00:26:03 +0000 (00:26 +0000)]
Tests for module 'fpurge'.
Bruno Haible [Sat, 14 Apr 2007 00:25:21 +0000 (00:25 +0000)]
New module 'fpurge'.
Bruno Haible [Sat, 14 Apr 2007 00:21:05 +0000 (00:21 +0000)]
Tests for module 'fbufmode'.
Bruno Haible [Sat, 14 Apr 2007 00:20:08 +0000 (00:20 +0000)]
New module 'fbufmode'.
Bruno Haible [Sat, 14 Apr 2007 00:15:48 +0000 (00:15 +0000)]
Tests for module 'fwritable'.