gnulib.git
18 years agoCompatibility with libtool.
Bruno Haible [Thu, 12 Jan 2006 18:04:16 +0000 (18:04 +0000)]
Compatibility with libtool.

18 years agoUse changequote.
Bruno Haible [Thu, 12 Jan 2006 15:43:29 +0000 (15:43 +0000)]
Use changequote.

18 years agoFix sed_replace_auxdir.
Bruno Haible [Thu, 12 Jan 2006 15:39:50 +0000 (15:39 +0000)]
Fix sed_replace_auxdir.

18 years agoNew module 'ldd'.
Bruno Haible [Thu, 12 Jan 2006 13:04:57 +0000 (13:04 +0000)]
New module 'ldd'.

18 years agoFix warning, reported by Bruno Haible <bruno@clisp.org> and patch by
Simon Josefsson [Thu, 12 Jan 2006 08:59:35 +0000 (08:59 +0000)]
Fix warning, reported by Bruno Haible <bruno@clisp.org> and patch by
Paul Eggert <eggert@CS.UCLA.EDU>.

18 years agoSync from coreutils.
Paul Eggert [Thu, 12 Jan 2006 05:40:19 +0000 (05:40 +0000)]
Sync from coreutils.
* md5.c: Fix commentary typos.
(OP): Fix spacing.
(alignof, UNALIGNED_P): No need for a GCC-specific version.
* md5.h (__attribute__): Remove; unused.
* sha1.c: Fix commentary to match md5 better.
* sha1.h (struct sha1_ctx): Use a word buffer, not a byte buffer,
so that we don't need to worry about alignment.  All uses changed.
This merges the 2005-10-28 md5 change into sha1.

18 years ago(SIZE_MAX): Add missing (.
Simon Josefsson [Wed, 11 Jan 2006 17:12:47 +0000 (17:12 +0000)]
(SIZE_MAX): Add missing (.

18 years agoMake the AUTOCONF etc. commands overridable by the user.
Bruno Haible [Wed, 11 Jan 2006 16:37:10 +0000 (16:37 +0000)]
Make the AUTOCONF etc. commands overridable by the user.

18 years agoAvoid error due to empty archive on MacOS X.
Bruno Haible [Wed, 11 Jan 2006 13:03:25 +0000 (13:03 +0000)]
Avoid error due to empty archive on MacOS X.

18 years agoEnsure automatic ordering between gl_LOCK and gl_ARGP.
Bruno Haible [Wed, 11 Jan 2006 13:01:13 +0000 (13:01 +0000)]
Ensure automatic ordering between gl_LOCK and gl_ARGP.

18 years agoInitialize also noinst_HEADERS to empty.
Bruno Haible [Wed, 11 Jan 2006 12:59:02 +0000 (12:59 +0000)]
Initialize also noinst_HEADERS to empty.

18 years agoDon't waste time in a recursive autoreconf.
Bruno Haible [Wed, 11 Jan 2006 12:56:40 +0000 (12:56 +0000)]
Don't waste time in a recursive autoreconf.

18 years agoReplace build-aux when it occurs in the autoconf snippet.
Bruno Haible [Wed, 11 Jan 2006 12:24:28 +0000 (12:24 +0000)]
Replace build-aux when it occurs in the autoconf snippet.

18 years ago.
Karl Berry [Wed, 11 Jan 2006 12:06:44 +0000 (12:06 +0000)]
.

18 years agoUndo previous change.
Paul Eggert [Wed, 11 Jan 2006 07:34:33 +0000 (07:34 +0000)]
Undo previous change.

18 years ago* modules/readutmp (Maintainer): Add Paul Eggert.
Paul Eggert [Tue, 10 Jan 2006 22:02:14 +0000 (22:02 +0000)]
* modules/readutmp (Maintainer): Add Paul Eggert.
* modules/strtok_r: Depend on module restrict.
* m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE. Use a
module dependency instead.

18 years ago* argp.h (__const): Remove macro. Use const instead.
Paul Eggert [Tue, 10 Jan 2006 21:49:07 +0000 (21:49 +0000)]
* argp.h (__const): Remove macro. Use const instead.
* argp-fmtstream.h (__const): Likewise.
* glob_.h (__const): Remove macro.
* glob-libc.h: Use const instead of __const.

18 years agoUpdate copyright year.
Paul Eggert [Tue, 10 Jan 2006 21:34:38 +0000 (21:34 +0000)]
Update copyright year.

18 years agoSync from coreutils.
Paul Eggert [Tue, 10 Jan 2006 21:31:01 +0000 (21:31 +0000)]
Sync from coreutils.

Avoid the double-free (first in fts_read, second in fts_close) that
would occur when an `active' directory is made inaccessible (e.g.,
via chmod a-x) during a traversal.
* lib/fts.c (fts_read): After a failed fchdir, update sp->fts_cur
before returning.  Reproduce this failure by
mkdir -p a/b; cd a; chmod a-x . b

* lib/sha1.c: Tweak grammar in a comment.
* m4/fpending.m4: Also include <stdio.h>, for Dragonfly.

* m4/memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
the 2002-12-31 change.

18 years ago* regex_internal.h (BITSET_WORD_BITS):
Paul Eggert [Tue, 10 Jan 2006 20:14:43 +0000 (20:14 +0000)]
* regex_internal.h (BITSET_WORD_BITS):
Work around a bug in 64-bit PGC (before version 6.1-2), where the
preprocessor mishandles large unsigned values as if they were signed.

18 years agoDepend on 'free' module.
Bruno Haible [Tue, 10 Jan 2006 18:07:16 +0000 (18:07 +0000)]
Depend on 'free' module.

18 years agoautoupdate
Karl Berry [Tue, 10 Jan 2006 16:10:31 +0000 (16:10 +0000)]
autoupdate

18 years agoAdd sys_socket module.
Simon Josefsson [Tue, 10 Jan 2006 14:28:52 +0000 (14:28 +0000)]
Add sys_socket module.

18 years agoOptimize file reading where possible.
Bruno Haible [Tue, 10 Jan 2006 13:57:21 +0000 (13:57 +0000)]
Optimize file reading where possible.

18 years agoUpdate from GNU gettext.
Bruno Haible [Tue, 10 Jan 2006 13:52:11 +0000 (13:52 +0000)]
Update from GNU gettext.

18 years agoAvoid an automake error regarding the 'gettext' module.
Bruno Haible [Tue, 10 Jan 2006 13:37:12 +0000 (13:37 +0000)]
Avoid an automake error regarding the 'gettext' module.

18 years agoAvoid a failure from autoreconf.
Bruno Haible [Tue, 10 Jan 2006 13:35:24 +0000 (13:35 +0000)]
Avoid a failure from autoreconf.

18 years agoRemove entry for fts.c/openat.[ch] that crept in ahead of schedule.
Jim Meyering [Tue, 10 Jan 2006 10:35:23 +0000 (10:35 +0000)]
Remove entry for fts.c/openat.[ch] that crept in ahead of schedule.

18 years agoRegenerate.
Paul Eggert [Mon, 9 Jan 2006 23:50:02 +0000 (23:50 +0000)]
Regenerate.

18 years ago* MODULES.html.sh (build_lib): New section, with new lib-ignore module.
Paul Eggert [Mon, 9 Jan 2006 23:49:54 +0000 (23:49 +0000)]
* MODULES.html.sh (build_lib): New section, with new lib-ignore module.

18 years agoFix typo in previous change; 3 lines were omitted.
Paul Eggert [Mon, 9 Jan 2006 23:42:27 +0000 (23:42 +0000)]
Fix typo in previous change; 3 lines were omitted.

18 years agoSync from coreutils.
Paul Eggert [Mon, 9 Jan 2006 23:13:56 +0000 (23:13 +0000)]
Sync from coreutils.

* doc/getdate.texi (General date syntax): Invalid dates are rejected.
(Time of day items): Mention the possibility of leap seconds.
Problem reported by Dr. David Alan Gilbert.

* lib/chdir-long.c (cdb_free): Don't bother trying to open directory
for write access: POSIX says that must fail.
* lib/fts.c (diropen): Likewise.
* lib/save-cwd.c (save_cwd): Likewise.
* lib/chdir-long.c (cdb_free): Open with O_NOCTTY | O_NONBLOCK as
well, for minor improvements on hosts that lack O_DIRECTORY.

* lib/gettime.c (gettime) [!defined OK_TO_USE_1S_CLOCK]:
Report an error at compile-time if only a 1-second nominal clock
resolution is found.

* lib/lchmod.h: New file.
* lib/mkdir-p.c: Include lchmod.h, lchown.h.
(make_dir_parents): Use lchown rather than chown, and
lchmod rather than chmod.

* lib/mountlist.c (ME_DUMMY): "none" and "proc" file systems are dummies
too.  Problem with "none" reported by Bob Proulx.  Problem with
"proc" reported by n0dalus.

* lib/mountlist.c: Include <limits.h>.
(dev_from_mount_options)
[defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]:
New function.  It no longer assumes "dev=" has the System V meaning
on Linux (since it doesn't).  It also parses "dev=" more carefully.
(read_file_system_list)
[defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]: Use it.
MOUNTED_GETMNTENT2 is new here; the code didn't used to look for
dev= in that case.

* lib/posixtm.h (PDS_PRE_2000): New macro.
* lib/posixtm.c (year): Arg is now syntax_bits rather than allow_century.
All usages changed.  Reject dates outside the range 1969-1999 if
PDS_PRE_2000 is used.

* modules/mkdir-p (Files): Add chdir-safer.c, chdir-safer.h, lchmod.h,
chdir-safer.m4, lchmod.m4.
* modules/openat: Add mkdirat.c, openat-priv.h.
* modules/lib-ignore: New file.

* lib/version-etc.c (COPYRIGHT_YEAR): Update to 2006.

Rewrite fts.c not to change the current working directory,
by using openat, fstatat, fdopendir, etc..

* lib/fts.c [! _LIBC]: Include "openat.h", "unistd--.h", and "fcntl--.h".
[_LIBC] (fchdir): Don't undef or define; no longer used.
(FCHDIR): Define in terms of cwd_advance_fd rather than fchdir.
Now, this `function' always succeeds, and consumes its file descriptor
parameter -- so callers must not close such FDs.  Update callers.
(diropen_fd, opendirat, cwd_advance_fd): New functions.
(diropen): Add parameter, SP.  Adjust all callers.
Implement using diropen_fd, rather than open.
(fts_open): Initialize new member, fts_cwd_fd.
Remove fts_rft-setting code.
(fts_close): Close fts_cwd_fd, if necessary.
(__opendir2): Define in terms of opendir or opendirat,
depending on whether the FST_NOCHDIR flag is set.
(fts_build): Since fts_safe_changedir consumes its FD, and since
this code must do `closedir(dirp)', dup the dirfd(dirp) argument,
and close the dup'd file descriptor upon failure.
(fts_stat): Use fstatat(...AT_SYMLINK_NOFOLLOW) in place of lstat.
(fts_safe_changedir): Tweak semantics to reflect that this function
now calls cwd_advance_fd and hence consumes its FD argument.
* lib/fts_.h [struct FTS] (fts_cwd_fd): New member.
(fts_rft): Remove now-unused member.

* lib/openat.c (fchownat): New function.
* lib/openat.h (fchmodat, fchownat): Declare.
(chmodat, lchmodat): Define convenience functions.
(chownat, lchownat): Likewise.

* lib/chdir-safer.h, chdir-safer.c: New files.

* lib/modechange.c (mode_compile): Reject an invalid mode string
that starts with an octal digit.  From Andreas Gruenbacher.

* lib/openat.c: Include "fcntl--.h" and "unistd--.h", to map open
and dup to open_safer and dup_safer, respectively.
(openat_permissive): Fix typo in comment.

* lib/openat.c: Don't include <stdlib.h>, <unistd.h>, <fcntl.h>,
"gettext.h"; either no longer needed or are guaranteed by openat.h.
(_): Remove; no longer needed.
(openat): Renamed from rpl_openat; no need for rpl_openat
since openat.h renames openat for us.
Replace most of the body with a call to openat_permissive,
to avoid duplicate code.
Port to (probably hypothetical) environments were mode_t is
wider than int.
(openat_permissive): Require mode arg, so that we can check
types better.  Put it just after flags.  Change cwd failure
indicator from pointer-to-bool to pointer-to-errno-value.
All callers changed.
Invoke openat_save_fail and/or openat_restore_fail if
cwd_errno is null, so that openat can call us.
(openat_permissive, fdopendir, fstatat, unlinkat):
Simplify errno handling to avoid some duplicate code,
as it's OK to set errno on success.
* lib/openat.h: Revamp code so that function macros depend on
__OPENAT_PREFIX only, not also on AT_FDCWD.
(openat_ro): Remove.  Caller changed to use openat_permissive.
(openat_permissive): Now a macro, if not a function.
(openat_restore_fail, openat_save_fail): Now always functions,
since mkdirat needs them even if __OPENAT_PREFIX is defined.

* lib/openat-priv.h: New file, defining macros used by mkdirat.c
and openat.c.
* lib/mkdirat.c: Include openat-priv.h.
Remove definitions of macros defined therein.
* lib/openat.c: Likewise.

* lib/mkdirat.c (mkdirat): New file and function.
* lib/openat.h (mkdirat): Declare.

* lib/openat.c (fdopendir): Don't change errno when returning non-NULL.

* lib/openat.h (openat_permissive): Declare.
(openat_ro): Define.

* lib/openat.c (EXPECTED_ERRNO): New macro.
(openat_permissive): New function -- used in remove.c rewrite.
(all functions): Set errno just before returning, only if there
was an actual failure.
Use EXPECTED_ERRNO rather than comparing against only ENOTDIR.

Emulate openat-family functions using Linux's procfs, if possible.
Idea and some code based on Ulrich Drepper's glibc changes.

* lib/openat.c: (BUILD_PROC_NAME): New macro.
Include <stdio.h>, <string.h>, "alloca.h" and "intprops.h".
(rpl_openat): Emulate by trying to open /proc/self/fd/%d/%s,
before falling back on save_cwd and restore_cwd.
(fdopendir, fstatat, unlinkat): Likewise.

* lib/openat.c (fstatat, unlinkat): Perform the syscall directly,
skipping the save_cwd...restore_cwd overhead, if FILE is absolute.

* lib/openat.c (rpl_openat): Use the promoted type (int), not mode_t,
as second argument to va_arg.  Otherwise, some versions of gcc
warn that `if this code is reached, the program will abort'.

Add POSIX ACL support
* lib/acl.h (copy_acl, set_acl): Add declarations.
* lib/acl.c (acl_entries): Add fallback implementation for POSIX ACL
systems other than Linux.
(chmod_or_fchmod): New function: use fchmod when possible,
and chmod otherwise.
(file_has_acl): Add a POSIX ACL implementation, with a
Linux-specific subcase.
(copy_acl): Add: copy an acl and S_ISUID, S_ISGID, and
S_ISVTX from one file to another.  Fall back to fchmod/chmod when
acls are unsupported.
(set_acl): Add: set a file's acl and S_ISUID, S_ISGID, and
S_ISVTX to a defined value.  Fall back to fchmod/chmod when acls
are unsupported.

* m4/lib-ignore.m4: New file.
* m4/lchmod.m4: New file.

* m4/chdir-safer.m4: New file.
* m4/openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
Require openat-priv.h.

* m4/acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.

18 years agoDefine also EX_OK.
Bruno Haible [Mon, 9 Jan 2006 21:48:50 +0000 (21:48 +0000)]
Define also EX_OK.

18 years ago2005-08-12: Look for ncurses first.
Bruno Haible [Mon, 9 Jan 2006 21:42:56 +0000 (21:42 +0000)]
2005-08-12: Look for ncurses first.

18 years agoRecommend to use strnlen.h.
Bruno Haible [Mon, 9 Jan 2006 21:40:18 +0000 (21:40 +0000)]
Recommend to use strnlen.h.

18 years agoMake inet_ntop depend on restrict.
Simon Josefsson [Mon, 9 Jan 2006 14:22:01 +0000 (14:22 +0000)]
Make inet_ntop depend on restrict.

18 years agoLGPL self tests, suggested by Bruno.
Simon Josefsson [Mon, 9 Jan 2006 14:10:09 +0000 (14:10 +0000)]
LGPL self tests, suggested by Bruno.

18 years agoMove the *.sh.in scripts to build-aux/.
Bruno Haible [Mon, 9 Jan 2006 13:54:59 +0000 (13:54 +0000)]
Move the *.sh.in scripts to build-aux/.

18 years agoMoved here from lib/javaexec.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:46:55 +0000 (13:46 +0000)]
Moved here from lib/javaexec.sh.in.

18 years agoMove to build-aux/javaexec.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:46:48 +0000 (13:46 +0000)]
Move to build-aux/javaexec.sh.in.

18 years agoMoved here from lib/javacomp.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:46:11 +0000 (13:46 +0000)]
Moved here from lib/javacomp.sh.in.

18 years agoMove to build-aux/javacomp.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:46:03 +0000 (13:46 +0000)]
Move to build-aux/javacomp.sh.in.

18 years agoMoved here from lib/csharpexec.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:45:38 +0000 (13:45 +0000)]
Moved here from lib/csharpexec.sh.in.

18 years agoMove to build-aux/csharpexec.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:45:31 +0000 (13:45 +0000)]
Move to build-aux/csharpexec.sh.in.

18 years agoMoved here from lib/csharpcomp.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:45:05 +0000 (13:45 +0000)]
Moved here from lib/csharpcomp.sh.in.

18 years agoMove to build-aux/csharpcomp.sh.in.
Bruno Haible [Mon, 9 Jan 2006 13:44:57 +0000 (13:44 +0000)]
Move to build-aux/csharpcomp.sh.in.

18 years agoRANLIB is needed.
Bruno Haible [Mon, 9 Jan 2006 13:27:12 +0000 (13:27 +0000)]
RANLIB is needed.

18 years agoCosmetic tweak of SIZE_MAX.
Bruno Haible [Mon, 9 Jan 2006 13:23:24 +0000 (13:23 +0000)]
Cosmetic tweak of SIZE_MAX.

18 years agoSupport for Linux libc4 and libc5.
Bruno Haible [Mon, 9 Jan 2006 13:20:01 +0000 (13:20 +0000)]
Support for Linux libc4 and libc5.

18 years agoupdate from texinfo
Karl Berry [Sun, 8 Jan 2006 22:14:51 +0000 (22:14 +0000)]
update from texinfo

18 years agoautoupdate
Karl Berry [Sat, 7 Jan 2006 19:39:14 +0000 (19:39 +0000)]
autoupdate

18 years agoREADME: Gnulib normally doesn't generate a tarball.
Paul Eggert [Wed, 4 Jan 2006 19:19:18 +0000 (19:19 +0000)]
README: Gnulib normally doesn't generate a tarball.

18 years agoGnulib doesn't generate a tarball.
Paul Eggert [Wed, 4 Jan 2006 19:18:29 +0000 (19:18 +0000)]
Gnulib doesn't generate a tarball.

18 years ago* strftime.c (tzname): Don't declare if it is already #defined.
Paul Eggert [Wed, 4 Jan 2006 18:55:42 +0000 (18:55 +0000)]
* strftime.c (tzname): Don't declare if it is already #defined.
Problem reported for Mingw by Mark Junker.

18 years ago* xtime.h (xtime_make, xtime_nonnegative_nsec, xtime_nsec): Use
Paul Eggert [Tue, 3 Jan 2006 23:20:14 +0000 (23:20 +0000)]
* xtime.h (xtime_make, xtime_nonnegative_nsec, xtime_nsec): Use
long int, not int, for nanosecond counts, so that people who are
used to POSIX struct timespec won't be surprised.  Reported by Jim
Meyering.

18 years agoautoupdate
Karl Berry [Mon, 2 Jan 2006 14:42:27 +0000 (14:42 +0000)]
autoupdate

18 years agoautoupdate
Karl Berry [Fri, 30 Dec 2005 21:01:32 +0000 (21:01 +0000)]
autoupdate

18 years agoUpgrade to libtool-1.5.22.
Bruno Haible [Wed, 28 Dec 2005 14:12:32 +0000 (14:12 +0000)]
Upgrade to libtool-1.5.22.

18 years agolibc sources rearranged
Karl Berry [Tue, 27 Dec 2005 14:33:38 +0000 (14:33 +0000)]
libc sources rearranged

18 years agoupdate from texinfo
Karl Berry [Mon, 26 Dec 2005 00:23:59 +0000 (00:23 +0000)]
update from texinfo

18 years agoautoupdate
Karl Berry [Sun, 25 Dec 2005 23:59:50 +0000 (23:59 +0000)]
autoupdate

18 years agoautoupdate
Karl Berry [Fri, 23 Dec 2005 20:01:02 +0000 (20:01 +0000)]
autoupdate

18 years ago.
Karl Berry [Sat, 17 Dec 2005 08:42:46 +0000 (08:42 +0000)]
.

18 years agofrom coreutils
Jim Meyering [Fri, 16 Dec 2005 15:06:54 +0000 (15:06 +0000)]
from coreutils

18 years agoNew file.
Jim Meyering [Fri, 16 Dec 2005 15:05:47 +0000 (15:05 +0000)]
New file.

18 years ago*** empty log message ***
Jim Meyering [Fri, 16 Dec 2005 15:05:23 +0000 (15:05 +0000)]
*** empty log message ***

18 years ago(Date and time <time.h>): Add fprintftime.
Jim Meyering [Fri, 16 Dec 2005 15:05:12 +0000 (15:05 +0000)]
(Date and time <time.h>): Add fprintftime.

18 years agoNew module.
Jim Meyering [Fri, 16 Dec 2005 15:04:59 +0000 (15:04 +0000)]
New module.

18 years ago.
Karl Berry [Fri, 16 Dec 2005 08:49:09 +0000 (08:49 +0000)]
.

18 years agoFix socklen module.
Simon Josefsson [Thu, 15 Dec 2005 09:13:08 +0000 (09:13 +0000)]
Fix socklen module.

18 years agoautoupdate
Karl Berry [Tue, 13 Dec 2005 14:14:40 +0000 (14:14 +0000)]
autoupdate

18 years agoautoupdate
Karl Berry [Mon, 12 Dec 2005 14:12:08 +0000 (14:12 +0000)]
autoupdate

18 years agoUpdate
Sergey Poznyakoff [Sat, 10 Dec 2005 21:39:50 +0000 (21:39 +0000)]
Update

18 years agoDefine HAVE_DECL_PROGRAM_INVOCATION_NAME and HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
Sergey Poznyakoff [Sat, 10 Dec 2005 21:37:44 +0000 (21:37 +0000)]
Define HAVE_DECL_PROGRAM_INVOCATION_NAME and HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME

18 years ago(fill_in_uparams): Check if the constructed
Sergey Poznyakoff [Sat, 10 Dec 2005 21:37:29 +0000 (21:37 +0000)]
(fill_in_uparams): Check if the constructed
struct uparams is valid. Fall back to the default values if it is
not.

18 years ago(__argp_fmtstream_update): Fix coredump
Sergey Poznyakoff [Sat, 10 Dec 2005 21:36:56 +0000 (21:36 +0000)]
(__argp_fmtstream_update): Fix coredump

18 years agoupdate notices in all files at once
Karl Berry [Sat, 10 Dec 2005 19:15:46 +0000 (19:15 +0000)]
update notices in all files at once

18 years agoautoupdate
Karl Berry [Sat, 10 Dec 2005 16:18:35 +0000 (16:18 +0000)]
autoupdate

18 years ago.
Karl Berry [Sat, 10 Dec 2005 08:45:21 +0000 (08:45 +0000)]
.

18 years agoUpdate
Sergey Poznyakoff [Fri, 9 Dec 2005 12:34:04 +0000 (12:34 +0000)]
Update

18 years ago(Files): Add argp-pin.c
Sergey Poznyakoff [Fri, 9 Dec 2005 12:31:34 +0000 (12:31 +0000)]
(Files): Add argp-pin.c
(Depends-on): dirname
(lib_SOURCES): Add argp-pin.c

18 years agoDefine program_invocation_name and program_invocation_short_name on systems that...
Sergey Poznyakoff [Fri, 9 Dec 2005 12:31:14 +0000 (12:31 +0000)]
Define program_invocation_name and program_invocation_short_name on systems that lack them.

18 years agoCheck if program_invocation_name and
Sergey Poznyakoff [Fri, 9 Dec 2005 12:30:03 +0000 (12:30 +0000)]
Check if program_invocation_name and
program_invocation_short_name are declared and define appropriate
macros if they are not.

18 years ago(argp_def): Use gettext wrappers
Sergey Poznyakoff [Fri, 9 Dec 2005 12:29:35 +0000 (12:29 +0000)]
(argp_def): Use gettext wrappers
(argp_default_parser): Use __argp_base_name

18 years agoDefine program_invocation_name and
Sergey Poznyakoff [Fri, 9 Dec 2005 12:29:17 +0000 (12:29 +0000)]
Define program_invocation_name and
program_invocation_short_name if requested
(__argp_base_name): Add prototype

18 years ago(__argp_base_name): New function
Sergey Poznyakoff [Fri, 9 Dec 2005 12:28:58 +0000 (12:28 +0000)]
(__argp_base_name): New function
(__argp_short_program_name): Rewrite using __argp_base_name

18 years agoFix typo in previous log entry.
Paul Eggert [Wed, 7 Dec 2005 18:19:29 +0000 (18:19 +0000)]
Fix typo in previous log entry.

18 years ago* m4/stat-time.m4 (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
Paul Eggert [Wed, 7 Dec 2005 18:18:33 +0000 (18:18 +0000)]
* m4/stat-time.m4 (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
<http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
* m4/stat-time.m4 (gl_STAT_TIME): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC.

18 years agoCopyright Notices simplification
Karl Berry [Tue, 6 Dec 2005 23:43:31 +0000 (23:43 +0000)]
Copyright Notices simplification

18 years ago.
Karl Berry [Sat, 3 Dec 2005 08:45:01 +0000 (08:45 +0000)]
.

18 years ago* socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
Paul Eggert [Fri, 2 Dec 2005 18:23:00 +0000 (18:23 +0000)]
* socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
Use implementation from Albert Chin, with some
comments/corrections by Stepan Kasal and myself.

18 years agoDepend on javacomp-script.
Bruno Haible [Fri, 2 Dec 2005 17:55:34 +0000 (17:55 +0000)]
Depend on javacomp-script.

18 years agoDepend on csharpcomp-script.
Bruno Haible [Fri, 2 Dec 2005 17:55:22 +0000 (17:55 +0000)]
Depend on csharpcomp-script.

18 years agoFix portability bug w.r.t. Microsoft's csc compiler.
Bruno Haible [Fri, 2 Dec 2005 13:40:07 +0000 (13:40 +0000)]
Fix portability bug w.r.t. Microsoft's csc compiler.

18 years agoAccept GPLed build tool modules when --lgpl is given.
Bruno Haible [Fri, 2 Dec 2005 13:37:34 +0000 (13:37 +0000)]
Accept GPLed build tool modules when --lgpl is given.

18 years agoBuild tool portion of csharpcomp.
Bruno Haible [Fri, 2 Dec 2005 13:36:59 +0000 (13:36 +0000)]
Build tool portion of csharpcomp.

18 years agoBuild tool portion of javacomp module.
Bruno Haible [Fri, 2 Dec 2005 13:36:42 +0000 (13:36 +0000)]
Build tool portion of javacomp module.

18 years ago* regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
Paul Eggert [Fri, 2 Dec 2005 00:30:09 +0000 (00:30 +0000)]
* regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
statement, to work around an HP-UX 10.20 compiler bug reported by
Peter O'Gorman.

18 years ago.
Karl Berry [Wed, 30 Nov 2005 08:49:31 +0000 (08:49 +0000)]
.

18 years ago* stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
Paul Eggert [Wed, 30 Nov 2005 06:24:41 +0000 (06:24 +0000)]
* stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
(uintmax_t) [defined uintmax_t]: Do not declare.
(SIZE_MAX) [defined SIZE_MAX]: Do not define.
This works around a problem if intmax_t.m4 and/or uintmax_t.m4
and/or size_max.m4 are also used.  Problem reported by Mark D. Baushke.
(SIZE_MAX): Define to ((size_t) -1), not (~(size_t)0), for the
sake of portability to weird hosts that C allows (though we don't
know of any practical examples).