1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Commit Graph

21 Commits

Author SHA1 Message Date
Bruno Haible
e2bc86f63c Move documentation for glibc functions that are now in POSIX. 2008-12-14 19:10:34 +01:00
Jim Meyering
26af642c37 random_r: new module
* modules/random_r: New file.
* m4/random_r.m4: New file.
* lib/random_r.c: New file, from glibc.
* modules/random_r-tests: New file.
* tests/test-random_r.c: New file.
* lib/stdlib.in.h (srandom_r, initstate_r, setstate_r, random_r): Declare.
(RAND_MAX): Define.
* m4/stdlib_h.m4: Define and AC_SUBST GNULIB_RANDOM_R and HAVE_RANDOM_R.
* modules/stdlib: Substitute them, too.
* MODULES.html.sh (Extra functions based on POSIX:2001) [Misc]: Add it.
* doc/glibc-functions/initstate_r.texi: Mention the new module.
* doc/glibc-functions/random_r.texi: Likewise.
* doc/glibc-functions/setstate_r.texi: Likewise.
* doc/glibc-functions/srandom_r.texi: Likewise.
* config/srclist.txt: Mention it.
2008-10-23 16:38:01 +02:00
Bruno Haible
484799750d Document existing modules. 2008-10-18 14:17:41 +02:00
Richard W.M. Jones
e69247d77e flock: new module
* MODULES.html.sh: Add to list of modules.
* lib/flock.c: flock implementation for Windows and Unix systems
which have fcntl.
* doc/glibc-functions/flock.texi: Update documentation.
* lib/sys_file.in.h: <sys/file.h> header file.
* m4/flock.m4: M4 macros.
* m4/sys_file_h.m4: M4 macros for replacement sys/file.h.
* modules/flock: flock module.
* modules/flock-tests: flock tests module.
* modules/sys_file: sys/file.h module.
* tests/test-flock.c: test suite for flock.
2008-10-07 08:32:09 +02:00
Bruno Haible
6efcc54c2e New module 'getdtablesize'. 2008-10-05 16:54:22 +02:00
Bruno Haible
244b71aedb Add info about functions missing on IRIX 5.3. 2008-09-23 12:50:53 +02:00
Bruno Haible
c14f2f33ff Update doc about Solaris. 2008-09-16 13:05:24 +02:00
Bruno Haible
73a8648074 Mention the 'strverscmp' module. 2008-09-04 00:45:45 +02:00
Ben Pfaff
4ade019ba6 Add isnanf module. 2008-07-12 11:27:14 -07:00
Eric Blake
79dd80fb31 Work around cygwin 1.5.25 strsignal bug.
* tests/test-strsignal.c: Allow for const char *.
* doc/glibc-functions/strsignal.texi (strsignal): Document the bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-06-18 11:16:23 -06:00
Eric Blake
7a8101a246 Add obstack-printf and obstack-printf-posix modules.
* modules/obstack-printf: New file.
* modules/obstack-printf-posix: Likewise.
* MODULES.html.sh (Misc): Mention them.
* doc/glibc-functions/obstack_printf.texi (obstack_printf):
Likewise.
* doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
Likewise.
* modules/stdio (Makefile.am): Accomodate new modules.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* lib/stdio.in.h (rpl_obstack_printf, rpl_obstack_vprintf):
Declare.
* lib/obstack_printf.c (obstack_printf, obstack_vprintf): New
functions.
* m4/obstack-printf.m4 (gl_OBSTACK_PRINTF)
(gl_REPLACE_OBSTACK_PRINTF): New macros
* m4/obstack-printf-posix.m4 (gl_OBSTACK_PRINTF_POSIX): Likewise.
* tests/test-obstack-printf.c: New file.
* modules/obstack-printf-tests: Likewise.
* modules/obstack-printf-posix-tests: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-06-13 07:34:22 -06:00
Eric Blake
e1759498c2 Actually commit the argz_next doc fix.
Signed-off-by: Eric Blake <ebb9@byu.net>
2008-06-06 17:57:29 -06:00
Eric Blake
4a2b4052b8 Tweak documentation to cover cygwin argz bugs.
* m4/argz.m4 (gl_FUNC_ARGZ): Mention date of last known cygwin
argz bug fix; no code change needed since no cygwin releases
occurred between the last fix and the bug being tested.
* doc/glibc-functions/argz_add.texi (argz_add): Document the argz
module and recently fixed cygwin bugs.
* doc/glibc-functions/argz_add_sep.texi (argz_add_sep): Likewise.
* doc/glibc-functions/argz_append.texi (argz_append): Likewise.
* doc/glibc-functions/argz_count.texi (argz_count): Likewise.
* doc/glibc-functions/argz_create.texi (argz_create): Likewise.
* doc/glibc-functions/argz_create_sep.texi (argz_create_sep):
Likewise.
* doc/glibc-functions/argz_delete.texi (argz_delete): Likewise.
* doc/glibc-functions/argz_extract.texi (argz_extract): Likewise.
* doc/glibc-functions/argz_insert.texi (argz_insert): Likewise.
* doc/glibc-functions/argz_next.texi (argz_next): Likewise.
* doc/glibc-functions/argz_replace.texi (argz_replace): Likewise.
* doc/glibc-functions/argz_stringify.texi (argz_stringify):
Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-06-06 09:02:17 -06:00
Jim Meyering
c35f42a7b6 Fix doc typo.
* doc/glibc-functions/getpass.texi (getpass): s/PATH_MAX/PASS_MAX/.
2008-05-19 14:02:31 +02:00
Bruno Haible
c2a78c90c3 Document limits of other implementations. 2008-05-19 13:15:59 +02:00
Simon Josefsson
d96cfbe13a doc/glibc-functions/getpass.texi: Document gnulib implementation. 2008-05-19 09:40:59 +02:00
Eric Blake
a37217922a Glibc finally accepted the memmem speedup code, bugzilla #5514.
* doc/glibc-functions/memmem.texi (memmem): Mention last broken
glibc version.
* doc/glibc-functions/strcasestr.texi (strcasestr): Likewise.
* doc/posix-functions/strstr.texi (strstr): Likewise.
* lib/str-two-way.h (MAX): Sychronize with glibc.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-05-15 06:16:11 -06:00
Eric Blake
2b430e392c Add rawmemchr module, matching glibc.
* modules/string (Makefile.am): New indicator.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
* lib/string.in.h (rawmemchr): Declare when appropriate.
* modules/rawmemchr: New file.
* m4/rawmemchr.m4: Likewise.
* lib/rawmemchr.c: Likewise.
* modules/rawmemchr-tests: Likewise.
* tests/test-rawmemchr.c: Likewise.
* doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
module.
* modules/strchrnul (Depends-on): Add rawmemchr.
* lib/strchrnul.c (strchrnul): Optimize a corner case.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-04-28 17:12:24 -06:00
Bruno Haible
e606e4f86f Incorporate existing strcasestr doc into new doc structure. 2008-01-19 13:06:50 +01:00
Bruno Haible
398c3b9ba9 Incorporate existing memmem doc into new doc structure. 2008-01-19 12:59:00 +01:00
Bruno Haible
038189bd6a New documentation of GNU libc functions. 2008-01-19 02:51:21 +01:00