gnulib.git
17 years ago* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better
Paul Eggert [Fri, 4 May 2007 06:38:12 +0000 (06:38 +0000)]
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better
comment for D_INO_IN_DIRENT.  Problem reported by James Youngman.

17 years agoupdate from texinfo
Karl Berry [Thu, 3 May 2007 16:29:04 +0000 (16:29 +0000)]
update from texinfo

17 years agoClarify the strftime module's purpose.
Bruno Haible [Wed, 2 May 2007 22:18:36 +0000 (22:18 +0000)]
Clarify the strftime module's purpose.

17 years agotexinfo tweak
Bruno Haible [Wed, 2 May 2007 22:17:07 +0000 (22:17 +0000)]
texinfo tweak

17 years ago* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Test whether
Paul Eggert [Wed, 2 May 2007 19:06:46 +0000 (19:06 +0000)]
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Test whether
readdir returns garbage in d_ino.  Problem reported by Kaz Sasayama in
<http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00021.html>.

17 years agoautoupdate
Karl Berry [Wed, 2 May 2007 13:13:42 +0000 (13:13 +0000)]
autoupdate

17 years agoUpdate
Sergey Poznyakoff [Wed, 2 May 2007 04:34:41 +0000 (04:34 +0000)]
Update

17 years ago(struct hol_entry): New member `ord'.
Sergey Poznyakoff [Wed, 2 May 2007 04:33:22 +0000 (04:33 +0000)]
(struct hol_entry): New member `ord'.
(HOL_ENTRY_PTRCMP): Use ord for comparison
(hol_sort): Initialize ord.

17 years agoRename _Exit.texi.
Bruno Haible [Tue, 1 May 2007 22:37:10 +0000 (22:37 +0000)]
Rename _Exit.texi.

17 years agoMove to _Exit_C99.texi.
Bruno Haible [Tue, 1 May 2007 22:35:50 +0000 (22:35 +0000)]
Move to _Exit_C99.texi.

17 years agoMove to here from _Exit.texi.
Bruno Haible [Tue, 1 May 2007 22:35:46 +0000 (22:35 +0000)]
Move to here from _Exit.texi.

17 years agoRedundant through doc/functions/*.texi.
Bruno Haible [Tue, 1 May 2007 22:32:06 +0000 (22:32 +0000)]
Redundant through doc/functions/*.texi.

17 years agoarp depends on sleep.
Bruno Haible [Tue, 1 May 2007 22:20:41 +0000 (22:20 +0000)]
arp depends on sleep.

17 years agoTests for module 'sleep'.
Bruno Haible [Tue, 1 May 2007 22:17:02 +0000 (22:17 +0000)]
Tests for module 'sleep'.

17 years agoNew module 'sleep'.
Bruno Haible [Tue, 1 May 2007 22:15:01 +0000 (22:15 +0000)]
New module 'sleep'.

17 years ago'exec' and 'toc' are not functions.
Bruno Haible [Tue, 1 May 2007 21:02:01 +0000 (21:02 +0000)]
'exec' and 'toc' are not functions.

17 years agoMention non-portability to Interix 3.5.
Bruno Haible [Tue, 1 May 2007 19:24:43 +0000 (19:24 +0000)]
Mention non-portability to Interix 3.5.

17 years agosigprocmask.h is replaced with <signal.h>.
Bruno Haible [Tue, 1 May 2007 19:20:18 +0000 (19:20 +0000)]
sigprocmask.h is replaced with <signal.h>.

17 years agoNew module 'signal'.
Bruno Haible [Tue, 1 May 2007 18:49:26 +0000 (18:49 +0000)]
New module 'signal'.

17 years agoMake the generated wctype.h more self-contained.
Bruno Haible [Tue, 1 May 2007 18:21:31 +0000 (18:21 +0000)]
Make the generated wctype.h more self-contained.

17 years agoMake the generated sys/stat.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.

17 years agoTweak last patch.
Bruno Haible [Tue, 1 May 2007 18:08:51 +0000 (18:08 +0000)]
Tweak last patch.

17 years agoMention non-portability to Interix 3.5.
Bruno Haible [Tue, 1 May 2007 17:59:19 +0000 (17:59 +0000)]
Mention non-portability to Interix 3.5.

17 years agoMake the generated glob.h self-contained.
Bruno Haible [Tue, 1 May 2007 15:48:24 +0000 (15:48 +0000)]
Make the generated glob.h self-contained.

17 years agoDon't mention the 'assert' module here.
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.

17 years agoAdd doc chapter about the POSIX functions.
Bruno Haible [Tue, 1 May 2007 15:14:20 +0000 (15:14 +0000)]
Add doc chapter about the POSIX functions.

17 years agoRanking of functions according to their number of hits on Google codesearch.
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.

17 years agoDocumentation of what gnulib provides for each function.
Bruno Haible [Tue, 1 May 2007 15:11:37 +0000 (15:11 +0000)]
Documentation of what gnulib provides for each function.

17 years agoThere is no POSIX function called 'exec'.
Bruno Haible [Tue, 1 May 2007 14:03:44 +0000 (14:03 +0000)]
There is no POSIX function called 'exec'.

17 years agoThere is no POSIX function named 'toc'.
Bruno Haible [Tue, 1 May 2007 13:53:42 +0000 (13:53 +0000)]
There is no POSIX function named 'toc'.

17 years agoDepend on sys_stat, since it fixes an mkdir portability problem.
Bruno Haible [Tue, 1 May 2007 10:42:29 +0000 (10:42 +0000)]
Depend on sys_stat, since it fixes an mkdir portability problem.

17 years agoRanking of include files according to their number of hits on Google
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.

17 years agoPrefer fseeko to fseek.
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.

17 years agoUpdate
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:42 +0000 (08:26 +0000)]
Update

17 years agoRestore #include "progname.h"
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:26 +0000 (08:26 +0000)]
Restore #include "progname.h"

17 years ago(usage-indent test): Fix output
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:11 +0000 (08:26 +0000)]
(usage-indent test): Fix output
(func_compare): Restore diff options

17 years ago(hol_entry_cmp): Option sorting algorithm
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.

17 years agoGuard against vsnprintf implementations that mishandle a size=0 argument.
Bruno Haible [Sun, 29 Apr 2007 15:40:30 +0000 (15:40 +0000)]
Guard against vsnprintf implementations that mishandle a size=0 argument.

17 years agoThere is no POSIX function called 'contents'.
Bruno Haible [Sun, 29 Apr 2007 15:33:25 +0000 (15:33 +0000)]
There is no POSIX function called 'contents'.

17 years agoDon't blame me for a change that I didn't suggest.
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.

17 years agogendocs_template_min
Karl Berry [Sun, 29 Apr 2007 13:35:40 +0000 (13:35 +0000)]
gendocs_template_min

17 years agoWork around fpurge bug on BSD systems.
Bruno Haible [Sun, 29 Apr 2007 12:16:55 +0000 (12:16 +0000)]
Work around fpurge bug on BSD systems.

17 years agoUpdate
Sergey Poznyakoff [Sun, 29 Apr 2007 12:04:15 +0000 (12:04 +0000)]
Update

17 years agoFix option ordering. Test deeply clustered options.
Sergey Poznyakoff [Sun, 29 Apr 2007 12:02:45 +0000 (12:02 +0000)]
Fix option ordering.  Test deeply clustered options.

17 years ago(hol_cluster_cmp): Reverse comparison. Change proposed by Sven Verdoolaege.
Sergey Poznyakoff [Sun, 29 Apr 2007 12:02:27 +0000 (12:02 +0000)]
(hol_cluster_cmp): Reverse comparison.  Change proposed by Sven Verdoolaege.

17 years agoMake test a bit easier to debug.
Bruno Haible [Sun, 29 Apr 2007 11:06:56 +0000 (11:06 +0000)]
Make test a bit easier to debug.

17 years agoBetter ASSERT macro.
Bruno Haible [Sun, 29 Apr 2007 09:15:13 +0000 (09:15 +0000)]
Better ASSERT macro.

17 years agofreading has an undefined value after repositioning a read-write stream.
Bruno Haible [Sun, 29 Apr 2007 08:38:22 +0000 (08:38 +0000)]
freading has an undefined value after repositioning a read-write stream.

17 years agoTrivial simplification.
Bruno Haible [Sun, 29 Apr 2007 08:24:53 +0000 (08:24 +0000)]
Trivial simplification.

17 years agoOops, fix details and comments of last patch.
Bruno Haible [Sun, 29 Apr 2007 07:44:02 +0000 (07:44 +0000)]
Oops, fix details and comments of last patch.

17 years agoMake the tests sharper: also test the interaction with fflush().
Bruno Haible [Sun, 29 Apr 2007 02:07:56 +0000 (02:07 +0000)]
Make the tests sharper: also test the interaction with fflush().

17 years agoWarn when fseek or ftell are used.
Bruno Haible [Sat, 28 Apr 2007 23:02:00 +0000 (23:02 +0000)]
Warn when fseek or ftell are used.

17 years agoAvoid false-negative in gl_STDINT_H's C99 conformance test.
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>.

17 years agotexinfo syntax fix.
Bruno Haible [Fri, 27 Apr 2007 22:54:42 +0000 (22:54 +0000)]
texinfo syntax fix.

17 years agoAdd reference to POSIX.
Bruno Haible [Fri, 27 Apr 2007 21:04:08 +0000 (21:04 +0000)]
Add reference to POSIX.

17 years ago* doc/headers/assert.texi (assert.h): Document assert module use.
Eric Blake [Fri, 27 Apr 2007 20:06:05 +0000 (20:06 +0000)]
* doc/headers/assert.texi (assert.h): Document assert module use.

17 years agoBump year.
Bruno Haible [Fri, 27 Apr 2007 19:58:36 +0000 (19:58 +0000)]
Bump year.

17 years agoAdd doc chapter about the POSIX header files.
Bruno Haible [Fri, 27 Apr 2007 19:58:15 +0000 (19:58 +0000)]
Add doc chapter about the POSIX header files.

17 years agoDocumentation of what gnulib provides for each header file.
Bruno Haible [Fri, 27 Apr 2007 19:57:14 +0000 (19:57 +0000)]
Documentation of what gnulib provides for each header file.

17 years agoRenamed socket_.h to sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:24:50 +0000 (18:24 +0000)]
Renamed socket_.h to sys_socket_.h.

17 years agoRename lib/sysexit_.h to lib/sysexits_.h.
Bruno Haible [Fri, 27 Apr 2007 18:23:01 +0000 (18:23 +0000)]
Rename lib/sysexit_.h to lib/sysexits_.h.

17 years agoMove to sysexits_.h.
Bruno Haible [Fri, 27 Apr 2007 18:22:26 +0000 (18:22 +0000)]
Move to sysexits_.h.

17 years agoMove to here from sysexit_.h.
Bruno Haible [Fri, 27 Apr 2007 18:22:23 +0000 (18:22 +0000)]
Move to here from sysexit_.h.

17 years agoRename lib/socket_.h to lib/sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:20:56 +0000 (18:20 +0000)]
Rename lib/socket_.h to lib/sys_socket_.h.

17 years agoMove to sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:19:58 +0000 (18:19 +0000)]
Move to sys_socket_.h.

17 years agoMove to here from socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:19:55 +0000 (18:19 +0000)]
Move to here from socket_.h.

17 years agoRename lib/stat_.h to lib/sys_stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:18:49 +0000 (18:18 +0000)]
Rename lib/stat_.h to lib/sys_stat_.h.

17 years agoMove to sys_stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:17:09 +0000 (18:17 +0000)]
Move to sys_stat_.h.

17 years agoMove to here from stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:17:05 +0000 (18:17 +0000)]
Move to here from stat_.h.

17 years ago* lib/freading.h: Improve comments.
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.

17 years agoFix closein for mingw.
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.

17 years agoI'm not responsible for these modules.
Bruno Haible [Fri, 27 Apr 2007 11:29:43 +0000 (11:29 +0000)]
I'm not responsible for these modules.

17 years agoOSF/1 "cc -nodtk" does not support #include_next.
Bruno Haible [Fri, 27 Apr 2007 11:09:11 +0000 (11:09 +0000)]
OSF/1 "cc -nodtk" does not support #include_next.

17 years agoRelax test, to avoid failure on mingw.
Bruno Haible [Fri, 27 Apr 2007 10:59:36 +0000 (10:59 +0000)]
Relax test, to avoid failure on mingw.

17 years agoTests depends on correct fflush on input streams.
Bruno Haible [Fri, 27 Apr 2007 10:57:31 +0000 (10:57 +0000)]
Tests depends on correct fflush on input streams.

17 years agoMore comments.
Bruno Haible [Fri, 27 Apr 2007 10:56:51 +0000 (10:56 +0000)]
More comments.

17 years ago* m4/argz.m4 (gl_FUNC_ARGZ): Use !HAVE_WORKING_ARGZ instead of
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>.

17 years agoupdate from texinfo
Karl Berry [Thu, 26 Apr 2007 22:14:45 +0000 (22:14 +0000)]
update from texinfo

17 years agogendocs_template conform to current gnu web style
Karl Berry [Thu, 26 Apr 2007 17:18:47 +0000 (17:18 +0000)]
gendocs_template conform to current gnu web style

17 years agoFix fflush on mingw.
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.

17 years agoImplement freading and fwriting.
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.

17 years agoVerify that off_t is the same size as long when we assume it.
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.

17 years agoEnsure fseeko and ftello are declared on glibc systems.
Bruno Haible [Thu, 26 Apr 2007 09:33:12 +0000 (09:33 +0000)]
Ensure fseeko and ftello are declared on glibc systems.

17 years agoOn BSD implementations, when we call lseek(), we must also update or disable
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.

17 years agoThe test now uses fseeko.
Bruno Haible [Thu, 26 Apr 2007 08:20:30 +0000 (08:20 +0000)]
The test now uses fseeko.

17 years ago* lib/argz_.h: ensure error_t definition is obtained in same
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.

17 years ago* lib/fpurge.c (includes): Use stdlib.h for free.
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.

17 years agoMake the combination of fflush and fseek/fseeko POSIX compliant.
Bruno Haible [Wed, 25 Apr 2007 09:14:49 +0000 (09:14 +0000)]
Make the combination of fflush and fseek/fseeko POSIX compliant.

17 years agoDepend on ftello.
Bruno Haible [Wed, 25 Apr 2007 07:56:32 +0000 (07:56 +0000)]
Depend on ftello.

17 years agoTests for module 'ftello'.
Bruno Haible [Wed, 25 Apr 2007 07:52:28 +0000 (07:52 +0000)]
Tests for module 'ftello'.

17 years agoNew module 'ftello'.
Bruno Haible [Wed, 25 Apr 2007 07:51:53 +0000 (07:51 +0000)]
New module 'ftello'.

17 years agoTests for module 'fseeko'.
Bruno Haible [Wed, 25 Apr 2007 07:40:58 +0000 (07:40 +0000)]
Tests for module 'fseeko'.

17 years agoNew module 'fseeko'.
Bruno Haible [Wed, 25 Apr 2007 07:39:55 +0000 (07:39 +0000)]
New module 'fseeko'.

17 years agofflush & GNULIB_POSIXCHECK.
Bruno Haible [Wed, 25 Apr 2007 07:09:29 +0000 (07:09 +0000)]
fflush & GNULIB_POSIXCHECK.

17 years agoEnsure that <unistd.h> and <fcntl.h> define SEEK_CUR etc.
Bruno Haible [Wed, 25 Apr 2007 06:46:57 +0000 (06:46 +0000)]
Ensure that <unistd.h> and <fcntl.h> define SEEK_CUR etc.

17 years ago* lib/fflush.c: Fix missing include.
Eric Blake [Mon, 23 Apr 2007 12:49:50 +0000 (12:49 +0000)]
* lib/fflush.c: Fix missing include.
Reported by Bruno Haible.

17 years agoFree a malloc()ed ungetc buffer.
Bruno Haible [Mon, 23 Apr 2007 08:47:17 +0000 (08:47 +0000)]
Free a malloc()ed ungetc buffer.

17 years agoPort to Solaris/SPARC64.
Bruno Haible [Mon, 23 Apr 2007 08:01:35 +0000 (08:01 +0000)]
Port to Solaris/SPARC64.

17 years agoDon't hardcode the value of _IOERR.
Bruno Haible [Mon, 23 Apr 2007 07:58:06 +0000 (07:58 +0000)]
Don't hardcode the value of _IOERR.

17 years agoBe prepared to a failure of setvbuf.
Bruno Haible [Mon, 23 Apr 2007 07:56:34 +0000 (07:56 +0000)]
Be prepared to a failure of setvbuf.