gnulib.git
17 years agoUpdate from coreutils.
Paul Eggert [Thu, 17 Aug 2006 20:34:21 +0000 (20:34 +0000)]
Update from coreutils.

* lib/__fpending.h: Add copyright notice.
* lib/fprintftime.h: Likewise.
* lib/savedir.c: Use (C) in copyright notice.
* lib/savedir.h: Likewise.

2006-08-15  Jim Meyering  <jim@meyering.net>

* lib/at-func.c: New file, with the logic of all emulated at-functions.
* lib/openat-priv.h: Include <errno.h> and define ENOSYS,
in support of the EXPECTED_ERRNO macro.
* lib/openat.c (fstatat, unlinkat, fchownat): Remove function definitions.
Instead, define the appropriate symbols and include "at-func.c".
* lib/mkdirat.c (mkdirat): Likewise.
* lib/fchmodat.c (fchmodat): Likewise.
(ENOSYS): Remove definition.
* lib/openat.c: Don't include <errno.h>, now that "openat-priv.h" does it.
Don't include "unistd--.h" -- it wasn't ever used.

2006-01-17  Jim Meyering  <jim@meyering.net>

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

* lib/fts.c [! _LIBC]: Include "openat.h" and "unistd--.h".
(HAVE_OPENAT_SUPPORT): Define.
[_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.
[struct FTS] (fts_rft): Remove now-unused member.
[struct FTS] (fts_cycle.state): Improve comment.

* lib/openat.c (openat_needs_fchdir): New function.
* lib/openat.h (openat_needs_fchdir): Declare it.

2006-08-15  Jim Meyering  <jim@meyering.net>

* m4/openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.

2006-01-17  Jim Meyering  <jim@meyering.net>

* m4/fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.

2006-01-11  Jim Meyering  <jim@meyering.net>

* m4/openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
Check for the lchmod function.

17 years agoautoupdate
Karl Berry [Thu, 17 Aug 2006 13:32:35 +0000 (13:32 +0000)]
autoupdate

17 years ago(memcoll): Set errno = 0 in the shortcut case, too.
Paul Eggert [Wed, 16 Aug 2006 17:22:49 +0000 (17:22 +0000)]
(memcoll): Set errno = 0 in the shortcut case, too.

17 years ago.
Karl Berry [Wed, 16 Aug 2006 08:04:38 +0000 (08:04 +0000)]
.

17 years ago* memcoll.c (memcoll): Optimize for the common case where the
Paul Eggert [Tue, 15 Aug 2006 21:48:44 +0000 (21:48 +0000)]
* memcoll.c (memcoll): Optimize for the common case where the
arguments are bytewise equal.

17 years ago* regexprops-generic.texi: Add a copyright notice.
Paul Eggert [Tue, 15 Aug 2006 21:48:33 +0000 (21:48 +0000)]
* regexprops-generic.texi: Add a copyright notice.

17 years ago* modules/cycle-check (configure.ac): Add gl_CYCLE_CHECK.
Paul Eggert [Tue, 15 Aug 2006 21:48:22 +0000 (21:48 +0000)]
* modules/cycle-check (configure.ac): Add gl_CYCLE_CHECK.

17 years ago(configure.ac): Add gl_CYCLE_CHECK.
Paul Eggert [Tue, 15 Aug 2006 21:47:01 +0000 (21:47 +0000)]
(configure.ac): Add gl_CYCLE_CHECK.

17 years agoChange to LGPL.
Bruno Haible [Tue, 15 Aug 2006 11:53:54 +0000 (11:53 +0000)]
Change to LGPL.

17 years agoCOPYING is not a module.
Bruno Haible [Tue, 15 Aug 2006 11:52:39 +0000 (11:52 +0000)]
COPYING is not a module.

17 years ago.
Karl Berry [Tue, 15 Aug 2006 08:03:48 +0000 (08:03 +0000)]
.

17 years agoRemove stray "x" before \input.
Jim Meyering [Tue, 15 Aug 2006 07:31:39 +0000 (07:31 +0000)]
Remove stray "x" before \input.

17 years agoAdd copyright notices to long-enough files that lack them, since
Paul Eggert [Mon, 14 Aug 2006 22:19:54 +0000 (22:19 +0000)]
Add copyright notices to long-enough files that lack them, since
otherwise the files aren't clearly free.  Use the same notice that
getdate.texi already uses.
* doc/alloca-opt.texi: Add copyright notice.
* doc/alloca.texi: Likewise.
* doc/ctime.texi: Likewise.
* doc/functions.texi: Likewise.
* doc/gcd.texi: Likewise.
* doc/gnulib-tool.texi: Likewise.
* doc/inet_ntoa.texi: Likewise.
* doc/visibility.texi: Likewise.

Change copyright notice from LGPL 2 to GPL 2, since that's the
standard form used in the gnulib repository.
* lib/lock.c: LGPL -> GPL.
* lib/lock.h: Likewise.
* lib/strnlen1.c: Likewise.
* lib/strnlen1.h: Likewise.
* lib/tls.c: Likewise.
* lib/tls.h: Likewise.
* lib/tmpdir.c: Likewise.
* tests/test-lock.c: Likewise.
* tests/test-stdint.c: Likewise.
* tests/test-tls.c: Likewise.

17 years agoChange to version suggested by maintain.texi.
Paul Eggert [Mon, 14 Aug 2006 22:10:20 +0000 (22:10 +0000)]
Change to version suggested by maintain.texi.

17 years agoautoupdate
Karl Berry [Mon, 14 Aug 2006 20:33:10 +0000 (20:33 +0000)]
autoupdate

17 years agoChange to more-permissive notice.
Paul Eggert [Mon, 14 Aug 2006 19:22:52 +0000 (19:22 +0000)]
Change to more-permissive notice.

17 years ago* users.txt: Add bison, diffutils, libprelude, prelude-lml,
Paul Eggert [Mon, 14 Aug 2006 19:08:24 +0000 (19:08 +0000)]
* users.txt: Add bison, diffutils, libprelude, prelude-lml,
prelude-manager.  User shorter URLs for GNU projects, without '?'.
Add copyright notice.

17 years ago* check-module: Add copyright notice.
Paul Eggert [Mon, 14 Aug 2006 18:28:31 +0000 (18:28 +0000)]
* check-module: Add copyright notice.
Output a copyright notice if "--version" is specified.
* config/srclistvars.sh: Add copyright notice.
* doc/getdate.texi: Update FDL version from 1.1 to 1.2.
* doc/quote.texi: Add copyright notice.
* lib/TODO: Remove; this belongs only in coreutils.
* modules/COPYING: New file.
* tests/test-getaddrinfo.c: Add copyright notice.
* tests/test-verify.c: Likewise.

17 years agomaintained -> supported, since Solaris 7 is "supported" (e.g., you can
Paul Eggert [Mon, 14 Aug 2006 18:02:34 +0000 (18:02 +0000)]
maintained -> supported, since Solaris 7 is "supported" (e.g., you can
get advice about it from Sun) but no patches are issued.

17 years ago* solaris-versions: Add SunOS 5.10, SunOS 1.x, SunOS 4.0, SunOS
Paul Eggert [Mon, 14 Aug 2006 17:58:00 +0000 (17:58 +0000)]
* solaris-versions: Add SunOS 5.10, SunOS 1.x, SunOS 4.0, SunOS
4.0.x, SunOS 4.1.1.1, SunOS 4.1.1_U1, SunOS 4.1.3B.  SunOS 4.1.3
was Solaris 1.1A.  Remove space before B in Solaris 1.1.1B.
Mention SunOS 5.11.  Mention that everything before SunOS 5.7
is now obsolete, and give a pointer to the Sun list.
Add copyright notice.

17 years ago* misc/error.c: Add space between program name and message if file
Eric Blake [Mon, 14 Aug 2006 16:08:25 +0000 (16:08 +0000)]
* misc/error.c: Add space between program name and message if file
name is missing.

17 years agoautoupdate
Karl Berry [Mon, 14 Aug 2006 13:14:48 +0000 (13:14 +0000)]
autoupdate

17 years agoUpdate copyright year.
Bruno Haible [Mon, 14 Aug 2006 12:22:19 +0000 (12:22 +0000)]
Update copyright year.

17 years agocoreutils is using gnulib without gnulib-tool, for now.
Jim Meyering [Sun, 13 Aug 2006 18:42:29 +0000 (18:42 +0000)]
coreutils is using gnulib without gnulib-tool, for now.
Converting it to use gnulib-tool is pretty high on the list of
things to fix.

17 years agooriginate in gnulib
Karl Berry [Sat, 12 Aug 2006 22:37:45 +0000 (22:37 +0000)]
originate in gnulib

17 years agotexinfo
Karl Berry [Sat, 12 Aug 2006 12:50:51 +0000 (12:50 +0000)]
texinfo

17 years ago* pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->
Paul Eggert [Fri, 11 Aug 2006 20:25:07 +0000 (20:25 +0000)]
* pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->
HAVE_PIPE.  Fix a file descriptor leak when fd_safer fails.

17 years ago* regex_internal.c (re_string_skip_chars): Don't assume WEOF fits
Paul Eggert [Fri, 11 Aug 2006 18:28:44 +0000 (18:28 +0000)]
* regex_internal.c (re_string_skip_chars): Don't assume WEOF fits
in wchar_t.  Problem reported by Eric Blake.

17 years agoRefine the tar CVS URL.
Bruno Haible [Fri, 11 Aug 2006 18:00:44 +0000 (18:00 +0000)]
Refine the tar CVS URL.

17 years agoFix typo in previous checkin: len -> lenbuf.
Paul Eggert [Fri, 11 Aug 2006 17:47:58 +0000 (17:47 +0000)]
Fix typo in previous checkin: len -> lenbuf.

17 years ago* snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when
Paul Eggert [Fri, 11 Aug 2006 17:42:19 +0000 (17:42 +0000)]
* snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when
LEN is smaller than SIZE.  Suggested by Bruno Haible.
Also, help the compiler to keep LEN in a register.

17 years ago* users.txt: Sort. Add tar.
Eric Blake [Fri, 11 Aug 2006 16:23:17 +0000 (16:23 +0000)]
* users.txt: Sort.  Add tar.

17 years ago* users.txt: Sort. Add tar.
Eric Blake [Fri, 11 Aug 2006 16:23:17 +0000 (16:23 +0000)]
* users.txt: Sort.  Add tar.

17 years agoAdd gss and libntlm.
Simon Josefsson [Fri, 11 Aug 2006 13:46:27 +0000 (13:46 +0000)]
Add gss and libntlm.
Fix gsasl name.

17 years agoNew file users.txt.
Bruno Haible [Fri, 11 Aug 2006 13:21:19 +0000 (13:21 +0000)]
New file users.txt.

17 years agoWho uses gnulib?
Bruno Haible [Fri, 11 Aug 2006 13:20:58 +0000 (13:20 +0000)]
Who uses gnulib?

17 years agoWork around the __VA_LIST__ in <wchar.h> problem on Tru64 with DTK compiler.
Bruno Haible [Fri, 11 Aug 2006 13:09:44 +0000 (13:09 +0000)]
Work around the __VA_LIST__ in <wchar.h> problem on Tru64 with DTK compiler.

17 years ago.
Karl Berry [Fri, 11 Aug 2006 08:19:37 +0000 (08:19 +0000)]
.

17 years ago* Makefile (standards.info standards.html standards.dvi):
Ralf Wildenhues [Fri, 11 Aug 2006 06:39:41 +0000 (06:39 +0000)]
* Makefile (standards.info standards.html standards.dvi):
Also depend on make-stds.texi.

17 years agoAdd Bruno Haible as maintainer for snprintf.
Paul Eggert [Thu, 10 Aug 2006 23:23:25 +0000 (23:23 +0000)]
Add Bruno Haible as maintainer for snprintf.

17 years agoAdd Bruno Haible as maintainer.
Paul Eggert [Thu, 10 Aug 2006 23:23:07 +0000 (23:23 +0000)]
Add Bruno Haible as maintainer.

17 years agoImport the following changes from libc:
Paul Eggert [Thu, 10 Aug 2006 20:08:01 +0000 (20:08 +0000)]
Import the following changes from libc:

2006-06-02  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.c (re_string_skip_chars): If no character has
been converted at all, set *last_wc to WEOF.  If mbrtowc failed, set wc
to the byte which couldn't be converted.
(re_string_reconstruct): Don't clear valid_raw_len before calling
re_string_skip_chars.  If wc is WEOF after re_string_skip_chars, set
tip_context using re_string_context_at.

2006-05-02  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.h: g++ still cannot handled [restrict].

2006-04-21  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.h: Remove special handling for VMS.

17 years ago* modules/snprintf (Depends-on): Remove minmax.
Paul Eggert [Thu, 10 Aug 2006 19:32:38 +0000 (19:32 +0000)]
* modules/snprintf (Depends-on): Remove minmax.
(Maintainer): Add self.
* lib/.cppi-disable: Add snprintf.h, socket_.h.
* lib/snprintf.c: Include <errno.h> and <limits.h>.
(EOVERFLOW): Define if the system does not.
Do not include "minmax.h"; it wasn't used.
(snprintf): Don't assume size_t promotes to an unsigned type.
Fix bug when generated string was too long for the buffer: the
buffer's contents are supposed to be the initial prefix of the
output.  Don't assume vasnprintf returns EOVERFLOW if the size
exceeds INT_MAX; do the check ourselves.

17 years ago* cycle-check.m4: Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
Jim Meyering [Thu, 10 Aug 2006 15:55:25 +0000 (15:55 +0000)]
* cycle-check.m4: Require gl_STRUCT_DEV_INO and gl_SAME_INODE.

17 years ago* cycle-check.m4: New file.
Jim Meyering [Thu, 10 Aug 2006 15:52:31 +0000 (15:52 +0000)]
* cycle-check.m4: New file.

17 years agoApply last patch also to --create-testdir.
Bruno Haible [Thu, 10 Aug 2006 15:05:20 +0000 (15:05 +0000)]
Apply last patch also to --create-testdir.

17 years ago* gnulib-tool (func_import): Detect unexpanded macros in gnulib
Eric Blake [Thu, 10 Aug 2006 14:22:53 +0000 (14:22 +0000)]
* gnulib-tool (func_import): Detect unexpanded macros in gnulib
namespace.

17 years ago* modules/same-inode: New module.
Jim Meyering [Thu, 10 Aug 2006 13:40:17 +0000 (13:40 +0000)]
* modules/same-inode: New module.
* modules/dev-ino: New module.
* modules/cycle-check: Depend on these modules, rather than simply
including their .h files.
(Makefile.am): Don't list cycle-check.[ch] here, now that they're
required via m4/cycle-check.m4.
* modules/same: Depend on new same-inode module, rather than
including same-inode.h.
* modules/chdir-safer: New file.

* m4/dev-ino.m4, m4/same-inode.m4: New files.

17 years ago* modules/chown (Depends-on): Add stat-macros.
Jim Meyering [Thu, 10 Aug 2006 13:30:55 +0000 (13:30 +0000)]
* modules/chown (Depends-on): Add stat-macros.

17 years ago* modules/verror (Depends-on): Remove bogus gl_VERROR that snuck
Eric Blake [Thu, 10 Aug 2006 13:09:14 +0000 (13:09 +0000)]
* modules/verror (Depends-on): Remove bogus gl_VERROR that snuck
in from original proposal.

17 years agoRegenerate.
Paul Eggert [Wed, 9 Aug 2006 23:21:09 +0000 (23:21 +0000)]
Regenerate.

17 years agoRemove the 'restrict' module, and modify everybody to use AC_C_RESTRICT
Paul Eggert [Wed, 9 Aug 2006 22:52:40 +0000 (22:52 +0000)]
Remove the 'restrict' module, and modify everybody to use AC_C_RESTRICT
rather than gl_C_RESTRICT.

17 years agoSync from coreutils.
Paul Eggert [Wed, 9 Aug 2006 22:27:27 +0000 (22:27 +0000)]
Sync from coreutils.

* m4/regex.m4 (gl_PREREQ_REGEX): Require AC_C_RESTRICT, not
gl_C_RESTRICT, now that we assume Autoconf 2.59 or later.
* m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
* m4/time_r.m4 (gl_TIME_R): Likewise.

2006-07-19  Mike Frysinger  <vapier@gentoo.org>
* lib/mountlist.c [ME_REMOTE]: Filter out cifs.
See <http://bugs.gentoo.org/141012>.

17 years agono more gettext-tools
Karl Berry [Wed, 9 Aug 2006 20:19:52 +0000 (20:19 +0000)]
no more gettext-tools

17 years agoautoupdate
Karl Berry [Wed, 9 Aug 2006 13:28:36 +0000 (13:28 +0000)]
autoupdate

17 years ago.
Karl Berry [Wed, 9 Aug 2006 08:04:58 +0000 (08:04 +0000)]
.

17 years ago* verror.c (verror_at_line): Work around glibc bug 2997, so that
Eric Blake [Tue, 8 Aug 2006 22:00:44 +0000 (22:00 +0000)]
* verror.c (verror_at_line): Work around glibc bug 2997, so that
verror_at_line output complies with GNU Coding Standards even when
file is NULL.

17 years agokarl locations
Karl Berry [Tue, 8 Aug 2006 16:15:45 +0000 (16:15 +0000)]
karl locations

17 years ago* modules/verror: New module.
Eric Blake [Tue, 8 Aug 2006 14:39:04 +0000 (14:39 +0000)]
* modules/verror: New module.
* MODULES.html.sh: Document it.

17 years ago* verror.h, verror.c: New files.
Eric Blake [Tue, 8 Aug 2006 14:37:39 +0000 (14:37 +0000)]
* verror.h, verror.c: New files.

17 years agoMake the last patch more future-proof.
Bruno Haible [Tue, 8 Aug 2006 13:11:11 +0000 (13:11 +0000)]
Make the last patch more future-proof.

17 years agoAllow AC_REQUIREs in the configure.ac snippet.
Bruno Haible [Tue, 8 Aug 2006 11:35:22 +0000 (11:35 +0000)]
Allow AC_REQUIREs in the configure.ac snippet.

17 years agoMake pkgdata_DATA a cumulative variable. From Ralf Wildenhues.
Bruno Haible [Mon, 7 Aug 2006 12:17:26 +0000 (12:17 +0000)]
Make pkgdata_DATA a cumulative variable. From Ralf Wildenhues.

17 years ago* error.h: Fold in some upstream changes from glibc.
Eric Blake [Sun, 6 Aug 2006 12:36:47 +0000 (12:36 +0000)]
* error.h: Fold in some upstream changes from glibc.
* error.c: Likewise.

17 years ago.
Karl Berry [Sun, 6 Aug 2006 08:05:29 +0000 (08:05 +0000)]
.

17 years agoFix for "make -j 3".
Bruno Haible [Fri, 4 Aug 2006 16:06:01 +0000 (16:06 +0000)]
Fix for "make -j 3".

17 years agoAssume the standard headers exist.
Bruno Haible [Mon, 31 Jul 2006 16:09:08 +0000 (16:09 +0000)]
Assume the standard headers exist.

17 years agoComment out macro invocation.
Bruno Haible [Mon, 31 Jul 2006 14:44:16 +0000 (14:44 +0000)]
Comment out macro invocation.

17 years agoAssume <string.h> exists.
Bruno Haible [Mon, 31 Jul 2006 14:42:54 +0000 (14:42 +0000)]
Assume <string.h> exists.

17 years agoInstall javaversion.class.
Bruno Haible [Mon, 31 Jul 2006 11:40:40 +0000 (11:40 +0000)]
Install javaversion.class.

17 years agoFix dependencies.
Bruno Haible [Mon, 31 Jul 2006 11:39:18 +0000 (11:39 +0000)]
Fix dependencies.

17 years agoChange license to LGPL.
Bruno Haible [Mon, 31 Jul 2006 11:38:19 +0000 (11:38 +0000)]
Change license to LGPL.

17 years agoClean core dumps.
Bruno Haible [Mon, 31 Jul 2006 11:37:23 +0000 (11:37 +0000)]
Clean core dumps.

17 years agoImprove autoconf_minversion detection.
Bruno Haible [Mon, 31 Jul 2006 11:36:29 +0000 (11:36 +0000)]
Improve autoconf_minversion detection.

17 years agoNew option --no-libtool.
Bruno Haible [Mon, 31 Jul 2006 11:35:20 +0000 (11:35 +0000)]
New option --no-libtool.

17 years agoTweak error message about missing --doc-base.
Bruno Haible [Sat, 29 Jul 2006 15:56:45 +0000 (15:56 +0000)]
Tweak error message about missing --doc-base.

17 years agoModule setenv must depend on module unistd, because unsetenv.c uses
Bruno Haible [Sat, 29 Jul 2006 15:34:58 +0000 (15:34 +0000)]
Module setenv must depend on module unistd, because unsetenv.c uses
#include <unistd.h> unconditionally.

17 years agosetenv.c comes from gettext / libiconv again.
Bruno Haible [Sat, 29 Jul 2006 14:38:53 +0000 (14:38 +0000)]
setenv.c comes from gettext / libiconv again.

17 years agoMake it possible to use a locally augmented gnulib.
Bruno Haible [Sat, 29 Jul 2006 13:29:02 +0000 (13:29 +0000)]
Make it possible to use a locally augmented gnulib.

17 years agoSupport projects without a top-level Makefile.am.
Bruno Haible [Sat, 29 Jul 2006 13:18:04 +0000 (13:18 +0000)]
Support projects without a top-level Makefile.am.

17 years agoRemove the --assume-autoconf option.
Bruno Haible [Sat, 29 Jul 2006 13:14:42 +0000 (13:14 +0000)]
Remove the --assume-autoconf option.

17 years agoAvoid creating an empty doc directory.
Bruno Haible [Sat, 29 Jul 2006 13:10:38 +0000 (13:10 +0000)]
Avoid creating an empty doc directory.

17 years agoSplit the --help output into several paragraphs.
Bruno Haible [Sat, 29 Jul 2006 13:04:18 +0000 (13:04 +0000)]
Split the --help output into several paragraphs.

17 years agoRevert the --help output reordering.
Bruno Haible [Sat, 29 Jul 2006 12:55:43 +0000 (12:55 +0000)]
Revert the --help output reordering.

17 years agoImprove an error message.
Bruno Haible [Sat, 29 Jul 2006 12:46:34 +0000 (12:46 +0000)]
Improve an error message.

17 years ago* regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89
Eric Blake [Sat, 29 Jul 2006 00:03:36 +0000 (00:03 +0000)]
* regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89
macro expansion.

17 years agoOops, weird typos in last patch.
Bruno Haible [Fri, 28 Jul 2006 17:32:33 +0000 (17:32 +0000)]
Oops, weird typos in last patch.

17 years agoUse netinet_in module.
Simon Josefsson [Fri, 28 Jul 2006 17:27:50 +0000 (17:27 +0000)]
Use netinet_in module.

17 years agoAdd new module netinet_in.
Simon Josefsson [Fri, 28 Jul 2006 17:27:29 +0000 (17:27 +0000)]
Add new module netinet_in.

17 years agoUse arpa_inet in inet_?to?.
Simon Josefsson [Fri, 28 Jul 2006 16:47:24 +0000 (16:47 +0000)]
Use arpa_inet in inet_?to?.

17 years ago2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Simon Josefsson [Fri, 28 Jul 2006 16:31:48 +0000 (16:31 +0000)]
2006-07-28  Yoann Vandoorselaere <yoann.v@prelude-ids.com>

* inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.

17 years ago2006-07-28 Bruno Haible <bruno@clisp.org>
Simon Josefsson [Fri, 28 Jul 2006 16:28:08 +0000 (16:28 +0000)]
2006-07-28  Bruno Haible <bruno@clisp.org>

* inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*.

2006-07-28  Yoann Vandoorselaere <yoann.v@prelude-ids.com>

* inet_ntop.h, inet_pton.h: Need to include netinet/in.h before
arpa/inet.h.

17 years agoAvoid defining a substitute for the same function twice.
Bruno Haible [Fri, 28 Jul 2006 15:37:42 +0000 (15:37 +0000)]
Avoid defining a substitute for the same function twice.

17 years agoAssume an ASCII compatible wide character encoding.
Bruno Haible [Fri, 28 Jul 2006 15:31:45 +0000 (15:31 +0000)]
Assume an ASCII compatible wide character encoding.

17 years agoDefine fallbacks for missing isw* functions on FreeBSD 4.x.
Bruno Haible [Fri, 28 Jul 2006 15:22:23 +0000 (15:22 +0000)]
Define fallbacks for missing isw* functions on FreeBSD 4.x.

17 years ago* modechange.c (mode_compile): Numeric modes now affect setuid and
Paul Eggert [Fri, 28 Jul 2006 07:39:27 +0000 (07:39 +0000)]
* modechange.c (mode_compile): Numeric modes now affect setuid and
setgid on directories only if they set these bits.
* modechange.h: Remove obsolete comment about masks.

17 years agoGet the C++ macros/conditionals right.
Bruno Haible [Thu, 27 Jul 2006 12:54:05 +0000 (12:54 +0000)]
Get the C++ macros/conditionals right.

17 years agoFix syntax error.
Bruno Haible [Thu, 27 Jul 2006 12:44:38 +0000 (12:44 +0000)]
Fix syntax error.

17 years ago* unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
Eric Blake [Thu, 27 Jul 2006 04:35:51 +0000 (04:35 +0000)]
* unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.

17 years ago* mkstemp-safer.c [! HAVE_MKSTEMP]: Add prototype for platforms
Eric Blake [Thu, 27 Jul 2006 04:34:16 +0000 (04:34 +0000)]
* mkstemp-safer.c [! HAVE_MKSTEMP]: Add prototype for platforms
like mingw that lack mkstemp.
* pipe-safer.c (pipe_safer) [!HAVE_FUNC_PIPE]: Provide fallback to
avoid compilation warning on mingw.