gnulib.git
16 years agoAdd me as co-author.
Bruno Haible [Sun, 8 Jun 2008 21:55:37 +0000 (23:55 +0200)]
Add me as co-author.

16 years agoAdd support for AIX ACLs.
Bruno Haible [Sun, 8 Jun 2008 18:33:08 +0000 (20:33 +0200)]
Add support for AIX ACLs.

16 years agoAdd support for HP-UX ACLs.
Bruno Haible [Sun, 8 Jun 2008 17:08:22 +0000 (19:08 +0200)]
Add support for HP-UX ACLs.

16 years agoAdd support for Cygwin ACLs.
Bruno Haible [Sun, 8 Jun 2008 14:52:23 +0000 (16:52 +0200)]
Add support for Cygwin ACLs.

16 years agoFix bug with setuid modes in Solaris 10+ code.
Bruno Haible [Sun, 8 Jun 2008 14:33:02 +0000 (16:33 +0200)]
Fix bug with setuid modes in Solaris 10+ code.

16 years agoAdd support for Solaris 7..10 ACLs.
Bruno Haible [Sun, 8 Jun 2008 14:04:08 +0000 (16:04 +0200)]
Add support for Solaris 7..10 ACLs.

16 years agoMore references.
Bruno Haible [Sun, 8 Jun 2008 13:55:30 +0000 (15:55 +0200)]
More references.

16 years agoNew function acl_extended_nontrivial (MacOS X only).
Bruno Haible [Sun, 8 Jun 2008 11:58:26 +0000 (13:58 +0200)]
New function acl_extended_nontrivial (MacOS X only).

16 years agoTrivial code simplifications.
Bruno Haible [Sun, 8 Jun 2008 11:29:35 +0000 (13:29 +0200)]
Trivial code simplifications.

16 years agoComments.
Bruno Haible [Sun, 8 Jun 2008 11:19:49 +0000 (13:19 +0200)]
Comments.

16 years ago* modules/acl (Maintainer): Add Bruno Haible.
Jim Meyering [Sun, 8 Jun 2008 07:38:26 +0000 (09:38 +0200)]
* modules/acl (Maintainer): Add Bruno Haible.

16 years agoDon't test the ACL_TYPE_DEFAULT ACL on OSF/1.
Bruno Haible [Sun, 8 Jun 2008 03:08:56 +0000 (05:08 +0200)]
Don't test the ACL_TYPE_DEFAULT ACL on OSF/1.

16 years agoAdd support for MacOS X ACLs.
Bruno Haible [Sun, 8 Jun 2008 03:06:19 +0000 (05:06 +0200)]
Add support for MacOS X ACLs.

16 years agoFix memory leak introduced on 2008-05-22.
Bruno Haible [Sun, 8 Jun 2008 02:51:21 +0000 (04:51 +0200)]
Fix memory leak introduced on 2008-05-22.

16 years agoAvoid needing to know the textual representation of an ACL when possible.
Bruno Haible [Sun, 8 Jun 2008 02:39:51 +0000 (04:39 +0200)]
Avoid needing to know the textual representation of an ACL when possible.

16 years agoTrivial code simplifications.
Bruno Haible [Sun, 8 Jun 2008 02:34:52 +0000 (04:34 +0200)]
Trivial code simplifications.

16 years agoTrivial stylistic improvements.
Bruno Haible [Sat, 7 Jun 2008 18:11:23 +0000 (20:11 +0200)]
Trivial stylistic improvements.

16 years agoFix doc about _setjmp.
Bruno Haible [Sat, 7 Jun 2008 11:49:10 +0000 (13:49 +0200)]
Fix doc about _setjmp.

16 years agoActually commit the argz_next doc fix.
Eric Blake [Fri, 6 Jun 2008 23:57:29 +0000 (17:57 -0600)]
Actually commit the argz_next doc fix.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoDocument abort() bugs.
Eric Blake [Fri, 6 Jun 2008 16:50:17 +0000 (10:50 -0600)]
Document abort() bugs.

* doc/posix-functions/abort.texi (abort): Mention anomalies.
* doc/posix-functions/setjmp.texi (setjmp): Mingw has setjmp.
* doc/posix-functions/sigsetjmp.texi (sigsetjmp): Cygwin has
sigsetjmp.
* doc/posix-functions/siglongjmp.texi (siglongjmp): Cygwin has
siglongjmp, but only as a macro.
* doc/posix-functions/_longjmp.texi (_longjmp): Mention that this
is obsolete.
* doc/posix-functions/_setjmp.texi (_setjmp): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoTweak documentation to cover cygwin argz bugs.
Eric Blake [Fri, 6 Jun 2008 14:51:48 +0000 (08:51 -0600)]
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>
16 years agoAvoid gcc warning on cygwin.
Eric Blake [Fri, 6 Jun 2008 14:34:18 +0000 (08:34 -0600)]
Avoid gcc warning on cygwin.

* lib/copy-acl.c (qcopy_acl) [!HAVE_ACL_GET_FILE &&
!ACL_NO_TRIVIAL]: Avoid unused variable.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agogenerate argz.c and argz.in.h from glibc sources
Jim Meyering [Tue, 3 Jun 2008 09:42:12 +0000 (11:42 +0200)]
generate argz.c and argz.in.h from glibc sources

* config/argz.mk: New file, with rules to generate the two files.
* modules/argz (Depends-on): Add mempcpy, stpcpy, strndup
and strnlen.  Suggested by David Lutterkort.
* m4/argz.m4: Require AC_C_RESTRICT.
Check only for the existence of one function,
argz_replace, since it seems to have been added most recently.
Also, remove the side effect of defining HAVE_ARGZ_* symbols.
* lib/argz.c: Now generated directly from glibc sources, rather than
imported from libtool.  Includes the following additional functions:
argz_extract, argz_create, argz_delete, str_append, argz_replace.
* lib/argz.in.h: Likewise.
* config/srclist.txt: Reflect that argz* files are no longer pulled
from libtool.

16 years agoBe tolerant of UNKNOWN version in gnulib-tool test dir.
Eric Blake [Wed, 4 Jun 2008 22:03:13 +0000 (16:03 -0600)]
Be tolerant of UNKNOWN version in gnulib-tool test dir.

* top/GNUmakefile (_dummy): Warn rather than reconfigure if
git-version-gen fails to come up with a version.
Reported by Simon Josefsson.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoutimens.c: work around a probable Linux kernel bug
Jim Meyering [Wed, 4 Jun 2008 17:32:50 +0000 (19:32 +0200)]
utimens.c: work around a probable Linux kernel bug

* lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT]: Work around what
appears to be a kernel bug that causes utimensat to return 280
instead of 0, indicating success.

16 years agoFix small mistake from 2008-06-01.
Bruno Haible [Wed, 4 Jun 2008 22:56:52 +0000 (00:56 +0200)]
Fix small mistake from 2008-06-01.

16 years agoNew function for testing triviality of ACL with POSIX-draft like API.
Bruno Haible [Wed, 4 Jun 2008 20:48:48 +0000 (22:48 +0200)]
New function for testing triviality of ACL with POSIX-draft like API.

16 years agoUndo last commit, as it does not solve the problem entirely.
Bruno Haible [Wed, 4 Jun 2008 20:10:07 +0000 (22:10 +0200)]
Undo last commit, as it does not solve the problem entirely.

16 years agoExclude the 'gnumakefile' module from default testdir builds.
Bruno Haible [Wed, 4 Jun 2008 10:41:44 +0000 (12:41 +0200)]
Exclude the 'gnumakefile' module from default testdir builds.

16 years agoSimplify #ifs. Put Solaris code after POSIX-like code.
Bruno Haible [Tue, 3 Jun 2008 22:00:28 +0000 (00:00 +0200)]
Simplify #ifs. Put Solaris code after POSIX-like code.

16 years agoProvide futimens/utimensat fallbacks for older kernels.
Eric Blake [Mon, 2 Jun 2008 21:08:14 +0000 (15:08 -0600)]
Provide futimens/utimensat fallbacks for older kernels.

* lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT, HAVE_FUTIMENS]:
Provide runtime fallback if kernel lacks support.
Reported by Mike Frysinger.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoImprove Tru64 support.
Bruno Haible [Tue, 3 Jun 2008 10:58:54 +0000 (12:58 +0200)]
Improve Tru64 support.

16 years agoMake acl_entries work reliably.
Bruno Haible [Tue, 3 Jun 2008 10:57:18 +0000 (12:57 +0200)]
Make acl_entries work reliably.

16 years agoEnclose definitions in #if for POSIX-draft like API.
Bruno Haible [Mon, 2 Jun 2008 23:34:20 +0000 (01:34 +0200)]
Enclose definitions in #if for POSIX-draft like API.

16 years agoDocument qset_acl return value precisely.
Bruno Haible [Mon, 2 Jun 2008 22:07:15 +0000 (00:07 +0200)]
Document qset_acl return value precisely.

16 years agoUse different test code for Cygwin.
Bruno Haible [Mon, 2 Jun 2008 21:55:00 +0000 (23:55 +0200)]
Use different test code for Cygwin.

16 years agoRemove unused code.
Bruno Haible [Mon, 2 Jun 2008 14:47:54 +0000 (16:47 +0200)]
Remove unused code.

16 years agoSeparate the error handling into a different function.
Bruno Haible [Mon, 2 Jun 2008 11:03:21 +0000 (13:03 +0200)]
Separate the error handling into a different function.

16 years agoExtend ACL support tests to support OSF/1, MacOS X, HP-UX, AIX.
Bruno Haible [Mon, 2 Jun 2008 11:01:53 +0000 (13:01 +0200)]
Extend ACL support tests to support OSF/1, MacOS X, HP-UX, AIX.

16 years agoannounce-gen: use a better key-server host name
Jim Meyering [Mon, 2 Jun 2008 09:32:02 +0000 (11:32 +0200)]
announce-gen: use a better key-server host name

* build-aux/announce-gen (main): Recommend keys.gnupg.net, since
it may be more consistently reliable.  Suggested by Werner Koch
in <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/13717>.

16 years agoFix syntax error on DragonFly BSD.
Bruno Haible [Sun, 1 Jun 2008 21:10:06 +0000 (23:10 +0200)]
Fix syntax error on DragonFly BSD.

16 years agoFix typo.
Voroskoi Andras [Sun, 1 Jun 2008 21:05:15 +0000 (23:05 +0200)]
Fix typo.

16 years agoNew ACL unit tests.
Bruno Haible [Sun, 1 Jun 2008 20:51:13 +0000 (22:51 +0200)]
New ACL unit tests.

16 years agoPortability fixes for MacOS X, Solaris, HP-UX, IRIX.
Bruno Haible [Sun, 1 Jun 2008 20:41:49 +0000 (22:41 +0200)]
Portability fixes for MacOS X, Solaris, HP-UX, IRIX.

16 years agoUse special-purpose function in DragonFly BSD.
Bruno Haible [Sun, 1 Jun 2008 16:43:55 +0000 (18:43 +0200)]
Use special-purpose function in DragonFly BSD.

16 years agoDepends on strdup.
Bruno Haible [Sun, 1 Jun 2008 10:10:29 +0000 (12:10 +0200)]
Depends on strdup.

16 years agoMake create_pipe_* safer w.r.t. file descriptor conflicts.
Bruno Haible [Sun, 1 Jun 2008 09:57:27 +0000 (11:57 +0200)]
Make create_pipe_* safer w.r.t. file descriptor conflicts.

16 years agomodules/autobuild (configure.ac): Call AB_INIT.
Simon Josefsson [Fri, 30 May 2008 10:59:52 +0000 (12:59 +0200)]
modules/autobuild (configure.ac): Call AB_INIT.

16 years agotests/test-getaddrinfo.c: Don't print debug messages by default.
Simon Josefsson [Fri, 30 May 2008 10:08:55 +0000 (12:08 +0200)]
tests/test-getaddrinfo.c: Don't print debug messages by default.
Suggested by Bruno Haible <bruno@clisp.org>.

16 years agoFix typo.
Simon Josefsson [Fri, 30 May 2008 08:38:57 +0000 (10:38 +0200)]
Fix typo.

16 years agotests/test-base64.c: Cast size_t to unsigned long when invoking printf. Use %lu...
Simon Josefsson [Fri, 30 May 2008 08:35:10 +0000 (10:35 +0200)]
tests/test-base64.c: Cast size_t to unsigned long when invoking printf.  Use %lu instead of %d.
Reported by Bruno Haible <bruno@clisp.org>.

16 years agoPrefer new POSIX 200x interfaces over futimesat.
Eric Blake [Thu, 29 May 2008 03:29:02 +0000 (21:29 -0600)]
Prefer new POSIX 200x interfaces over futimesat.

* m4/utimens.m4 (gl_UTIMENS): Check for futimens, utimensat.
* lib/utimens.c (gl_futimens): Use them for nanosecond resolution
when available.
[HAVE_BUGGY_NFS_TIME_STAMPS]: Allow C89 compilation.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoRelax license of the stpcpy module.
Bruno Haible [Thu, 29 May 2008 00:07:07 +0000 (02:07 +0200)]
Relax license of the stpcpy module.

16 years agoMake localename.c compile with current mingw.
Bruno Haible [Tue, 27 May 2008 22:55:17 +0000 (00:55 +0200)]
Make localename.c compile with current mingw.

16 years agoMention the link requirements.
Bruno Haible [Tue, 27 May 2008 12:45:41 +0000 (14:45 +0200)]
Mention the link requirements.

16 years agosha256: do not artificially restrict buffer length to be < 2^32
Jim Meyering [Mon, 26 May 2008 17:29:50 +0000 (19:29 +0200)]
sha256: do not artificially restrict buffer length to be < 2^32

* lib/sha256.h (struct sha256_ctx) [buflen]: Change type from
uint32_t to size_t.
* lib/sha256.c (sha256_conclude_ctx): Change type of a local
to match.

16 years agoavoid unaligned access errors, e.g., on sparc
Jim Meyering [Mon, 26 May 2008 14:25:28 +0000 (16:25 +0200)]
avoid unaligned access errors, e.g., on sparc

* lib/sha512.c (sha512_conclude_ctx): Use set_uint64 rather than
direct access through a possibly-unaligned uint64* pointer.
* lib/sha256.c (sha256_conclude_ctx): Use set_uint32 rather than
direct access through a possibly-unaligned uint32* pointer.
Prompted by this patch from Tom "spot" Callaway:
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13638

16 years agosha512.c: fix typo in comment
Jim Meyering [Mon, 26 May 2008 14:28:22 +0000 (16:28 +0200)]
sha512.c: fix typo in comment

* lib/sha512.c (sha512_conclude_ctx): Length is 128-bit, not 64-bit.

16 years agoRename acl.c to set-mode-acl.c.
Bruno Haible [Sun, 25 May 2008 11:44:20 +0000 (13:44 +0200)]
Rename acl.c to set-mode-acl.c.

16 years agoDrop LIB_ACL_TRIVIAL.
Bruno Haible [Sun, 25 May 2008 18:02:51 +0000 (20:02 +0200)]
Drop LIB_ACL_TRIVIAL.

16 years agouseless-if-before-free: freed expr may have white-space differences
Jim Meyering [Sun, 25 May 2008 17:37:11 +0000 (19:37 +0200)]
useless-if-before-free: freed expr may have white-space differences

* build-aux/useless-if-before-free: Recognize cases in which the
freed expression differs from the tested one in embedded white
space, e.g., if (p[i + 1]) free(p[i+1]).  Correct thinko in prev:
$1 was used, so we can't make any regexp shy.  Improved tests now
detect this.

16 years agouseless-if-before-free: accept white space in the expression.
Jim Meyering [Sun, 25 May 2008 17:02:51 +0000 (19:02 +0200)]
useless-if-before-free: accept white space in the expression.

* build-aux/useless-if-before-free: For now, any white space
in the expression must be identical in the free argument.

16 years agoMake the *outer* regexp shy, not the expr-matching one.
Jim Meyering [Sun, 25 May 2008 16:58:29 +0000 (18:58 +0200)]
Make the *outer* regexp shy, not the expr-matching one.

16 years agouseless-if-before-free: efficiency tweak
Jim Meyering [Sun, 25 May 2008 16:19:39 +0000 (18:19 +0200)]
useless-if-before-free: efficiency tweak

* build-aux/useless-if-before-free: Make the expression-matching
regexp "shy".

16 years agoupdate code-in-comment to accept cast of free arg
Jim Meyering [Sun, 25 May 2008 16:12:43 +0000 (18:12 +0200)]
update code-in-comment to accept cast of free arg

* build-aux/useless-if-before-free: Update regexp.

16 years agoUpdate after program was renamed.
Bruno Haible [Sun, 25 May 2008 12:24:45 +0000 (14:24 +0200)]
Update after program was renamed.

16 years agoRename tests/test-copy-file-sameacls.c to tests/test-sameacls.c.
Bruno Haible [Sun, 25 May 2008 11:51:56 +0000 (13:51 +0200)]
Rename tests/test-copy-file-sameacls.c to tests/test-sameacls.c.

16 years agoMake stdbool work on Haiku OS.
Andreas Färber [Sat, 24 May 2008 09:54:19 +0000 (11:54 +0200)]
Make stdbool work on Haiku OS.

16 years agoImprove support for ACLs on OSF/1.
Bruno Haible [Fri, 23 May 2008 11:29:46 +0000 (13:29 +0200)]
Improve support for ACLs on OSF/1.

16 years agoAdd support for ACLs on OSF/1.
Bruno Haible [Fri, 23 May 2008 01:48:39 +0000 (03:48 +0200)]
Add support for ACLs on OSF/1.

16 years agoMake copy_acl work on MacOS X 10.5.
Bruno Haible [Thu, 22 May 2008 23:13:51 +0000 (01:13 +0200)]
Make copy_acl work on MacOS X 10.5.

16 years agoFix two commands in OSF/1 specific part.
Bruno Haible [Fri, 23 May 2008 01:39:25 +0000 (03:39 +0200)]
Fix two commands in OSF/1 specific part.

16 years agoTweak Solaris section.
Bruno Haible [Thu, 22 May 2008 23:07:15 +0000 (01:07 +0200)]
Tweak Solaris section.

16 years agoFix two commands in MacOS X specific part.
Bruno Haible [Thu, 22 May 2008 23:02:56 +0000 (01:02 +0200)]
Fix two commands in MacOS X specific part.

16 years agoFix comments: Cygwin is like Solaris, not like POSIX.
Bruno Haible [Thu, 22 May 2008 23:01:55 +0000 (01:01 +0200)]
Fix comments: Cygwin is like Solaris, not like POSIX.

16 years agoMove some declarations from acl.h to acl-internal.h.
Bruno Haible [Thu, 22 May 2008 22:14:21 +0000 (00:14 +0200)]
Move some declarations from acl.h to acl-internal.h.

16 years agoSplit off copy_acl function to separate file.
Bruno Haible [Thu, 22 May 2008 22:13:07 +0000 (00:13 +0200)]
Split off copy_acl function to separate file.

16 years agoTests for the 'copy-file' module.
Bruno Haible [Thu, 22 May 2008 17:23:54 +0000 (19:23 +0200)]
Tests for the 'copy-file' module.

16 years agoAvoid gcc warning.
Eric Blake [Thu, 22 May 2008 13:57:37 +0000 (07:57 -0600)]
Avoid gcc warning.

* tests/test-memcmp.c (main): Pass NULL indirectly.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoReference documentation about ACLs.
Bruno Haible [Wed, 21 May 2008 23:22:30 +0000 (01:22 +0200)]
Reference documentation about ACLs.

16 years agoOops, fix syntax error introduced by last commit.
Bruno Haible [Wed, 21 May 2008 22:58:27 +0000 (00:58 +0200)]
Oops, fix syntax error introduced by last commit.

16 years agoOops, remove stray semicolon added in last commit.
Bruno Haible [Wed, 21 May 2008 22:54:26 +0000 (00:54 +0200)]
Oops, remove stray semicolon added in last commit.

16 years agoAvoid one more warning from gcc.
Bruno Haible [Wed, 21 May 2008 22:53:42 +0000 (00:53 +0200)]
Avoid one more warning from gcc.

16 years agoavoid another warning from gcc
Jim Meyering [Wed, 21 May 2008 21:09:59 +0000 (23:09 +0200)]
avoid another warning from gcc

* lib/vasnprintf.c (scale10_round_decimal_double):
Use IF_LINT to avoid another "may be used uninitialized" warning.

16 years agoavoid a warning from gcc
Jim Meyering [Wed, 21 May 2008 16:38:12 +0000 (18:38 +0200)]
avoid a warning from gcc

* lib/vasnprintf.c (IF_LINT): Define.
(scale10_round_decimal_long_double):
Use it to avoid a "may be used uninitialized" warning.

16 years agofix typos in ChangeLog entries
Jim Meyering [Tue, 20 May 2008 13:06:25 +0000 (15:06 +0200)]
fix typos in ChangeLog entries

16 years agoWhen cross-compiling, assume memcmp works if it is declared.
Simon Josefsson [Wed, 21 May 2008 09:07:36 +0000 (11:07 +0200)]
When cross-compiling, assume memcmp works if it is declared.

16 years agoMore memcmp tests.
Bruno Haible [Tue, 20 May 2008 10:55:35 +0000 (12:55 +0200)]
More memcmp tests.

16 years agoAdd memcmp-tests module.
Simon Josefsson [Tue, 20 May 2008 07:22:45 +0000 (09:22 +0200)]
Add memcmp-tests module.

16 years agoremove trailing blanks
Jim Meyering [Tue, 20 May 2008 06:45:49 +0000 (08:45 +0200)]
remove trailing blanks

16 years agoFix syntax of --keyword option.
Bruno Haible [Tue, 20 May 2008 00:26:36 +0000 (02:26 +0200)]
Fix syntax of --keyword option.

16 years agoKeep getpass-gnu in sync with getpass.
Martin Lambers [Mon, 19 May 2008 22:25:16 +0000 (00:25 +0200)]
Keep getpass-gnu in sync with getpass.

16 years agoRemove trailing spaces.
Bruno Haible [Mon, 19 May 2008 22:16:32 +0000 (00:16 +0200)]
Remove trailing spaces.

16 years agomodules/base64-tests: New file.
Simon Josefsson [Mon, 19 May 2008 17:35:00 +0000 (19:35 +0200)]
modules/base64-tests: New file.

16 years agoSync gnulib base64 with coreutils base64.
Simon Josefsson [Mon, 19 May 2008 17:32:00 +0000 (19:32 +0200)]
Sync gnulib base64 with coreutils base64.
* lib/base64.c (base64_decode_ctx): If a decode context structure
was passed in use it to ignore newlines.  If a context structure
was _not_ passed in, continue to treat newlines as garbage (this
is the historical behavior).  Formerly base64_decode.
(base64_decode_alloc_ctx): Formerly base64_decode_alloc.  Now
takes a decode context structure.
* lib/base64.h (base64_decode): Macro for four-argument calls.
(base64_decode_alloc): Likewise.
* lib/base64.c (base64_decode_ctx): If a decode context structure
was passed in use it to ignore newlines.  If a context structure
was _not_ passed in, continue to treat newlines as garbage (this
is the historical behavior).  Formerly base64_decode.
(base64_decode_alloc_ctx): Formerly base64_decode_alloc.  Now
takes a decode context structure.
* lib/base64.h (base64_decode): Macro for four-argument calls.
(base64_decode_alloc): Likewise.

16 years agoavoid a warning from gcc
Jim Meyering [Mon, 19 May 2008 16:10:38 +0000 (18:10 +0200)]
avoid a warning from gcc

* lib/trim.c (IF_LINT): Define.
(trim2): Use it to void a "may be used uninitialized" warning.

16 years agoFix doc typo.
Jim Meyering [Mon, 19 May 2008 12:02:23 +0000 (14:02 +0200)]
Fix doc typo.

* doc/glibc-functions/getpass.texi (getpass): s/PATH_MAX/PASS_MAX/.

16 years agoDocument limits of other implementations.
Bruno Haible [Mon, 19 May 2008 11:15:59 +0000 (13:15 +0200)]
Document limits of other implementations.

16 years agodoc/glibc-functions/getpass.texi: Document gnulib implementation.
Simon Josefsson [Mon, 19 May 2008 07:40:59 +0000 (09:40 +0200)]
doc/glibc-functions/getpass.texi: Document gnulib implementation.

16 years agoNew module 'propername', moved here from GNU gettext.
Bruno Haible [Sun, 18 May 2008 13:38:15 +0000 (15:38 +0200)]
New module 'propername', moved here from GNU gettext.