Paul Eggert [Mon, 9 Oct 2006 18:22:37 +0000 (18:22 +0000)]
Merge the ChangeLogs into one ChangeLog, at the root.
Paul Eggert [Mon, 9 Oct 2006 17:47:14 +0000 (17:47 +0000)]
Fix some dates and names in ChangeLog entries.
Bruno Haible [Mon, 9 Oct 2006 12:26:13 +0000 (12:26 +0000)]
Emphasize the drawbacks of the --symlink option.
Jim Meyering [Mon, 9 Oct 2006 12:15:39 +0000 (12:15 +0000)]
* fts-cycle.c (leave_dir): When "leaving" a top level directory due
to FTS_SKIP, don't copy the parent's uninitialized dev/ino values.
Trigger with e.g., mkdir d && valgrind ./chmod u+rwx d d
Jim Meyering [Mon, 9 Oct 2006 11:50:09 +0000 (11:50 +0000)]
* lchown.c: Include <sys/stat.h> before "stat-macros.h".
Patch from Bruno Haible.
Karl Berry [Sun, 8 Oct 2006 07:41:44 +0000 (07:41 +0000)]
.
Paul Eggert [Sun, 8 Oct 2006 07:29:24 +0000 (07:29 +0000)]
Give credit to bug reporter.
Paul Eggert [Sun, 8 Oct 2006 07:24:56 +0000 (07:24 +0000)]
Don't include <config.h> twice; this doesn't work in some cases,
e.g., when config.h has "#define intmax_t long long int" and
we include <config.h>, <inttypes.h>, <config.h> in that order.
* fprintftime.c: Don't include config.h or fprintftime.h.
* fts-cycle.c: Don't include config.h.
* strftime.c: Include fprintftime.h if FPRINTFTIME is defined.
* xstrtoimax.c: Remove copyright notice since it's short tnow.
Don't include config.h or xstrtol.h. Define STRTOL_T_MINIMUM
and STRTOL_T_MAXIMUM unconditionally, since we now assume gnulib
inttypes.h.
* xstrtoumax.c: Likewise.
* xstrtol.c: Include config.h and xstrtol.h after defining
__strtol and the like, so that this module is more like its siblings.
(STRTOL_T_MINIMUM, STRTOL_T_MAXIMUM) [! defined STRTOL_T_MINIMUM]:
Remove; no longer needed now that we assume gnulib inttypes.h.
2006-10-07 Bruno Haible <bruno@clisp.org>
Jim Meyering [Sat, 7 Oct 2006 18:57:13 +0000 (18:57 +0000)]
* modules/inttypes (inttypes.h): Revert what seems to have been
an inadvertent part of today's change: use "|", not "/" in the
substitution for the "/"-containing string, $(ABSOLUTE_INTTYPES_H).
Bruno Haible [Sat, 7 Oct 2006 17:53:15 +0000 (17:53 +0000)]
Move Paolo's ChangeLog entry.
Eric Blake [Sat, 7 Oct 2006 17:38:54 +0000 (17:38 +0000)]
Fix ChangeLog typo
Bruno Haible [Sat, 7 Oct 2006 15:21:52 +0000 (15:21 +0000)]
Live on the diff-merge branch, not on HEAD.
Bruno Haible [Sat, 7 Oct 2006 15:20:20 +0000 (15:20 +0000)]
Difference of two sequences.
Bruno Haible [Sat, 7 Oct 2006 15:19:14 +0000 (15:19 +0000)]
Fuzzy string comparison.
Taken from GNU gettext.
Bruno Haible [Sat, 7 Oct 2006 15:18:43 +0000 (15:18 +0000)]
Taken from diffutils/src/analyze.c
Bruno Haible [Sat, 7 Oct 2006 15:09:14 +0000 (15:09 +0000)]
Comment changes.
Bruno Haible [Sat, 7 Oct 2006 14:54:51 +0000 (14:54 +0000)]
Mark generated files as "DO NOT EDIT".
Bruno Haible [Sat, 7 Oct 2006 14:47:21 +0000 (14:47 +0000)]
New module 'sublist'.
Karl Berry [Sat, 7 Oct 2006 07:42:41 +0000 (07:42 +0000)]
.
Paul Eggert [Sat, 7 Oct 2006 07:07:34 +0000 (07:07 +0000)]
* mkancesdirs.c (mkancesdirs): Pass to MAKE_DIR both the full file
name (relative to the original working directory) and the file
name component (relative to the temporary working directory). All
callers changed.
* mkancesdirs.h (mkancesdirs): Adjust prototype to match.
* mkdir-p.c (make_dir_parents): Likewise.
* mkdir-p.h (make_dir_parents): Likewise.
SCALAR(0x827b260)
2006-10-06 Bruno Haible <bruno@clisp.org>
Eric Blake [Fri, 6 Oct 2006 23:13:53 +0000 (23:13 +0000)]
* clean-temp.h (close_stream_temp): New declaration.
* clean-temp.c (includes): Pull in headers according to what
other modules are in use.
(close_stream_temp) [GNULIB_CLOSE_STREAM]: New function.
Eric Blake [Fri, 6 Oct 2006 23:11:25 +0000 (23:11 +0000)]
Define several macros for use by the clean-temp module.
* close-stream.m4 (gl_CLOSE_STREAM): Define GNULIB_CLOSE_STREAM.
* fcntl-safer.m4 (gl_FCNTL_SAFER): Define GNULIB_FCNTL_SAFER.
* stdio-safer.m4 (gl_FOPEN_SAFER): Define GNULIB_FOPEN_SAFER.
Bruno Haible [Fri, 6 Oct 2006 21:37:28 +0000 (21:37 +0000)]
Return an error indicator.
Bruno Haible [Fri, 6 Oct 2006 21:20:20 +0000 (21:20 +0000)]
Provide a fallback for PATH_MAX.
Jim Meyering [Fri, 6 Oct 2006 13:59:10 +0000 (13:59 +0000)]
[ChangeLog]
* modules/closeout (Description): Mention stderr too.
[lib/ChangeLog]
* closeout.c (close_stdout): Also close stderr.
* closeout.h: Update comment.
Bruno Haible [Fri, 6 Oct 2006 13:32:11 +0000 (13:32 +0000)]
Ensure temp file is closed before its directory is removed.
Bruno Haible [Fri, 6 Oct 2006 12:17:22 +0000 (12:17 +0000)]
Have clean-temp register file open descriptors to temporary files.
Bruno Haible [Fri, 6 Oct 2006 12:06:07 +0000 (12:06 +0000)]
Add bounded list search operations.
Paul Eggert [Thu, 5 Oct 2006 22:49:57 +0000 (22:49 +0000)]
[lib/ChangeLog]
Fix some Darwin-7.9.0 porting problems reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00063.html>.
* dirchownmod.c: Include lchown.h.
* lchown.c: Don't include files that lchown.h now includes.
Don't declare chown, since lchown.h now does that.
* lchown.h: Include errno.h, sys/types.h, unistd.h.
(lchown): Define to rpl_chown if lchown is declared but
does not exist. Declare using a prototype if lchown is not
declared. Add a copyright notice.
* mkstemp.h: Include <unistd.h>.
* openat.c: Include lchown.h.
[m4/ChangeLog]
* lchown.m4 (gl_FUNC_LCHOWN): Check whether lchown is declared.
Paul Eggert [Thu, 5 Oct 2006 21:38:10 +0000 (21:38 +0000)]
[lib/ChangeLog]
* fcntl_.h (O_NOFOLLOW): Don't depend on O_NOFOLLOW_IS_INEFFECTIVE;
we now test for that separately.
* fts.c (fts_safe_changedir): Inspect HAVE_WORKING_O_NOFOLLOW
rather than O_NOFOLLOW, when testing whether it's possible to
avoid a race condition reliably.
* savewd.c (savewd_chdir): Likewise.
[m4/ChangeLog]
* fcntl_h.m4 (gl_FCNTL_H): Define HAVE_WORKING_O_NOFOLLOW instead
of O_NOFOLLOW_IS_INEFFECTIVE. Define HAVE_WORKING_O_NOATIME if
O_NOATIME works.
Karl Berry [Thu, 5 Oct 2006 21:26:52 +0000 (21:26 +0000)]
update from texinfo
Paul Eggert [Thu, 5 Oct 2006 21:23:20 +0000 (21:23 +0000)]
Remove macros that are no longer needed now that stdint.h is
reliable.
* fsusage.c (UINTMAX_MAX): Remove.
* human.c (SIZE_MAX, UINTMAX_MAX): Remove.
* utimecmp.c (SIZE_MAX): Remove.
Bruno Haible [Thu, 5 Oct 2006 12:45:16 +0000 (12:45 +0000)]
Add searching operations, limited to a subsequence of the list.
Bruno Haible [Thu, 5 Oct 2006 12:40:48 +0000 (12:40 +0000)]
Handle the Woe32 SIGBREAK too.
Bruno Haible [Wed, 4 Oct 2006 17:28:15 +0000 (17:28 +0000)]
Add a search_atleast operation.
Jim Meyering [Wed, 4 Oct 2006 17:21:22 +0000 (17:21 +0000)]
* fts.c (fts_open): Tiny comment change.
Bruno Haible [Wed, 4 Oct 2006 17:00:21 +0000 (17:00 +0000)]
Whitespace normalization.
Bruno Haible [Wed, 4 Oct 2006 16:59:33 +0000 (16:59 +0000)]
Fix a weird typo.
Bruno Haible [Wed, 4 Oct 2006 16:56:38 +0000 (16:56 +0000)]
Fix return type.
Bruno Haible [Wed, 4 Oct 2006 16:54:24 +0000 (16:54 +0000)]
Comment fixes.
Bruno Haible [Wed, 4 Oct 2006 16:38:45 +0000 (16:38 +0000)]
Make it possible to invoke AC_GNU_SOURCE after gl_LOCK_EARLY.
Jim Meyering [Wed, 4 Oct 2006 08:24:26 +0000 (08:24 +0000)]
2006-10-02 Dmitry V. Levin <ldv@altlinux.org>
* fts.c (fts_close, fts_build, fts_palloc): Remove redundant checks.
Karl Berry [Tue, 3 Oct 2006 07:41:39 +0000 (07:41 +0000)]
.
Paul Eggert [Tue, 3 Oct 2006 06:33:39 +0000 (06:33 +0000)]
* quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
Eric Blake [Tue, 3 Oct 2006 04:12:40 +0000 (04:12 +0000)]
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use autoconf's
definition in 2.60+.
Eric Blake [Tue, 3 Oct 2006 04:01:46 +0000 (04:01 +0000)]
* modules/strnlen (Depends-on): Add extensions.
Bruno Haible [Mon, 2 Oct 2006 11:40:10 +0000 (11:40 +0000)]
Don't use no-dependencies, since it's not the default in automake.
Karl Berry [Sat, 30 Sep 2006 07:38:29 +0000 (07:38 +0000)]
.
Paul Eggert [Sat, 30 Sep 2006 00:37:48 +0000 (00:37 +0000)]
[lib/ChangeLog]
Work around bug in Solaris 10 /proc file system:
/proc/self/fd/NNN/.. isn't the parent directory of
the directory whose file descriptor is NNN. This needs to
be worked around at run time, not compile time, since a
program might be built on Solaris 8, where things work, and
run on Solaris 10.
* openat-priv.h (BUILD_PROC_NAME): Remove. All callers changed
to use the following interface instead:
(OPENAT_BUFFER_SIZE): New macro.
(openat_proc_name): New function.
* at-func.c (AT_FUNC_NAME): Adjust to above changes.
* openat.c (openat_permissive, openat_needs_fchdir, fdopendir):
Likewise.
* openat-proc.c: New file.
[ChangeLog]
* modules/openat (Files): Add lib/openat-proc.c.
(Depends-on): Add same-inode, stdbool.
[m4/ChangeLog]
* openat.m4 (gl_FUNC_OPENAT): Add AC_LIBOBJ(openat-proc).
Bruno Haible [Fri, 29 Sep 2006 13:44:52 +0000 (13:44 +0000)]
New function fwriteerror_no_ebadf.
Karl Berry [Fri, 29 Sep 2006 07:39:02 +0000 (07:39 +0000)]
.
Bruno Haible [Thu, 28 Sep 2006 21:59:59 +0000 (21:59 +0000)]
sed now also uses gnulib.
Bruno Haible [Thu, 28 Sep 2006 20:52:13 +0000 (20:52 +0000)]
Simplify and document.
Bruno Haible [Thu, 28 Sep 2006 20:18:27 +0000 (20:18 +0000)]
Avoid gcc warning at configure time.
Bruno Haible [Thu, 28 Sep 2006 20:00:51 +0000 (20:00 +0000)]
Use the stdint module.
Paolo Bonzini [Thu, 28 Sep 2006 19:58:33 +0000 (19:58 +0000)]
2006-09-28 Paolo Bonzini <bonzini@gnu.org>
* lib/poll.c (rpl_poll) [__APPLE__]: Use FIONREAD instead of MSG_PEEK.
* m4/poll.m4: Look for sys/ioctl.h and sys/filio.h.
Jim Meyering [Thu, 28 Sep 2006 16:27:11 +0000 (16:27 +0000)]
fix typo
Jim Meyering [Thu, 28 Sep 2006 12:18:58 +0000 (12:18 +0000)]
* mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c".
Include <unistd.h>.
Jim Meyering [Thu, 28 Sep 2006 11:16:05 +0000 (11:16 +0000)]
[lib/ChangeLog]
This function could end up with a definition for a function
named __strndup, rather than rpl_strndup on a system with
incomplete weak_alias support.
* strndup.c (strndup): Rename from __strndup.
Remove #defines that used to map __strndup to strndup.
Don't use K&R prototypes.
Remove LIBC-related code, since this file is not sync'd with glibc.
* strndup.h: Revamp, accordingly.
[m4/ChangeLog]
* strndup.m4: Modernize.
Paul Eggert [Wed, 27 Sep 2006 18:25:47 +0000 (18:25 +0000)]
* canon-host.c (canon_host_r): Work around bug in Darwin 7.9.0
getaddrinfo.
Paul Eggert [Wed, 27 Sep 2006 17:59:19 +0000 (17:59 +0000)]
[lib/ChangeLog]
* __fpending.h: Don't include <stdio_ext.h> unless
HAVE_DECL___FPENDING. This avoids a bug with lsbcc, where
it causes <stdio_ext.h> to cause a compile-time error.
Problem reported by Nelson H. F. Beebe.
* getpass.c: Likewise, except for HAVE_DECL___FSETLOCKING instead
of HAVE_DECL___PENDING.
[m4/ChangeLog]
* fpending.m4 (gl_FUNC_FPENDING): Check for stdio_ext at most once.
* getpass.m4 (gl_PREREQ_GETPASS): Check for __fsetlocking's declaration.
Karl Berry [Wed, 27 Sep 2006 07:37:50 +0000 (07:37 +0000)]
.
Paul Eggert [Tue, 26 Sep 2006 23:33:11 +0000 (23:33 +0000)]
[ChangeLog]
* modules/savewd (Depends-on): Add 'raise'.
[lib/ChangeLog]
* savewd.c: Include <signal.h>, for 'raise'.
Karl Berry [Tue, 26 Sep 2006 22:29:19 +0000 (22:29 +0000)]
autoupdate
Bruno Haible [Tue, 26 Sep 2006 21:01:42 +0000 (21:01 +0000)]
Tweak last patch, for symmetry.
Eric Blake [Tue, 26 Sep 2006 20:14:43 +0000 (20:14 +0000)]
* verror.c: Include <config.h> unconditionally.
Jim Meyering [Tue, 26 Sep 2006 10:30:06 +0000 (10:30 +0000)]
* acl.m4 (AC_FUNC_ACL): Disable ACL support altogether
when we detect Darwin 8.7.0's acl_get_file bug.
Rearrange to perform the new (below) run-test while $LIBS
contains any acl-related library. Set USE_ACL at the end.
(gl_ACL_GET_FILE): New function.
Karl Berry [Tue, 26 Sep 2006 09:53:21 +0000 (09:53 +0000)]
.
Paul Eggert [Tue, 26 Sep 2006 06:36:30 +0000 (06:36 +0000)]
[ChangeLog]
* modules/clock-time (Maintainer): Add self.
* modules/getlogin_r (Depends-on): Add extensions.
[m4/ChangeLog]
* host-os.m4 (gl_HOST_OS): Require AC_CANONICAL_HOST.
Eric Blake [Mon, 25 Sep 2006 21:20:54 +0000 (21:20 +0000)]
* gnulib-tool (func_import, func_create_testdir): Fix typos in
2006-09-18 patch.
Ralf Wildenhues [Mon, 25 Sep 2006 21:03:05 +0000 (21:03 +0000)]
* chdir-long.m4 (gl_FUNC_CHDIR_LONG): Rename cache variable from
`gl_have_arbitrary_file_name_length_limit' to
`gl_cv_have_arbitrary_file_name_length_limit', so that caching
actually works between configure runs.
Ralf Wildenhues [Mon, 25 Sep 2006 17:35:50 +0000 (17:35 +0000)]
* modules/clock-time: New module.
* modules/nanosleep (Depends-on): Add clock-time.
* modules/gethrxtime (Depends-on): Likewise.
* modules/gettime (Depends-on): Likewise.
* modules/settime (Depends-on): Likewise.
Ralf Wildenhues [Mon, 25 Sep 2006 17:34:56 +0000 (17:34 +0000)]
* modules/fts-lgpl: Depend on openat.
* modules/mkancesdirs: Depend on savewd.
* modules/mkdir-p: Likewise.
Jim Meyering [Mon, 25 Sep 2006 16:08:26 +0000 (16:08 +0000)]
add "the" in a comment
Bruno Haible [Mon, 25 Sep 2006 14:40:44 +0000 (14:40 +0000)]
Ensure stpncpy() is declared.
Jim Meyering [Mon, 25 Sep 2006 13:02:15 +0000 (13:02 +0000)]
* fcntl_h.m4 (gl_FCNTL_H): Fix typo in test for failed open.
This typo caused coreutils/tests/dd/misc to fail on Darwin 8.7.0.
Bruno Haible [Mon, 25 Sep 2006 11:58:08 +0000 (11:58 +0000)]
Oops, update error message also.
Karl Berry [Sun, 24 Sep 2006 07:46:06 +0000 (07:46 +0000)]
.
Jim Meyering [Sun, 24 Sep 2006 06:53:01 +0000 (06:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Sep 2006 06:49:03 +0000 (06:49 +0000)]
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't use '>' to
compare a pointer against a literal "0". That caused failures with
at least HP-UX's hpcc.
Bruno Haible [Fri, 22 Sep 2006 20:10:26 +0000 (20:10 +0000)]
Avoid warning at configure time with "gcc -Wall".
Ralf Wildenhues [Fri, 22 Sep 2006 18:09:47 +0000 (18:09 +0000)]
* fsusage.m4 (gl_STATFS_TRUNCATES): Avoid unused variable.
* getdate.m4 (gl_C_COMPOUND_LITERALS): Likewise.
* jm-winsz1.m4 (gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Likewise;
also add missing comma that caused broken test.
* link-follow.m4 (gl_AC_FUNC_LINK_FOLLOWS_SYMLINK): Include
stdlib.h, for `abort'.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Avoid unused
variables.
* mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Check for and
include unistd.h if present, for `rmdir'.
* physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): Avoid unused
variables.
* putenv.m4 (gl_FUNC_PUTENV): Rewrite using AC_RUN_IFELSE, and
in the process include standard headers for prototypes.
* readutmp.m4 (gl_READUTMP): Require AC_GNU_SOURCE, so utmpxname
gets declared on GNU/Linux.
* rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Check for and include
unistd.h, for `rmdir'.
* time_r.m4 (gl_TIME_R): Avoid unused variables.
Ralf Wildenhues [Fri, 22 Sep 2006 17:26:02 +0000 (17:26 +0000)]
* fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Avoid expression that is
always true.
* strndup.m4 (gl_FUNC_STRNDUP): include stdlib.h, for `free'.
Ralf Wildenhues [Fri, 22 Sep 2006 17:25:00 +0000 (17:25 +0000)]
* sockpfaf.m4 (gl_SOCKET_FAMILIES): Avoid gcc -Wall warnings.
Ralf Wildenhues [Fri, 22 Sep 2006 17:19:03 +0000 (17:19 +0000)]
* modules/bison-i18n (Depends-on): Add gettext.
Ralf Wildenhues [Fri, 22 Sep 2006 17:15:05 +0000 (17:15 +0000)]
* gl_anylinked_list2.h [lint] (gl_linked_iterator)
(gl_linked_iterator_from_to): Initialize struct completely.
* gl_anytree_list2.h [lint] (gl_tree_iterator): Likewise.
(gl_tree_iterator_from_to): Likewise
* gl_anytree_oset.h [lint] (gl_tree_iterator): Likewise.
* gl_array_list.c [lint] (gl_array_iterator)
(gl_array_iterator_from_to): Likewise.
* gl_array_oset.c [lint] (gl_array_iterator): Likewise.
* gl_carray_list.c [lint] (gl_carray_iterator)
(gl_carray_iterator_from_to): Likewise.
Ralf Wildenhues [Fri, 22 Sep 2006 16:54:11 +0000 (16:54 +0000)]
* gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1.
* md4.c (md4_process_block): Remove unused variable.
* rijndael-api-fst.c (rijndaelBlockDecrypt): GCC suggests
parentheses for clarity.
Bruno Haible [Fri, 22 Sep 2006 15:43:18 +0000 (15:43 +0000)]
Don't include the config-h module in megatestdir.
Simon Josefsson [Fri, 22 Sep 2006 12:59:37 +0000 (12:59 +0000)]
2006-09-22 Simon Josefsson <jas@extundo.com>
* modules/gc-sha1:
* modules/gc-md4:
* modules/gc-hmac-sha1:
* modules/gc-hmac-md5:
* modules/gc-des:
* modules/gc-arcfour: Distribute more files.
Bruno Haible [Fri, 22 Sep 2006 12:47:54 +0000 (12:47 +0000)]
Pass to the gl_GETLOADAVG macro the $gl_source_base from gnulib-tool.
Ralf Wildenhues [Fri, 22 Sep 2006 03:10:42 +0000 (03:10 +0000)]
* gnulib-tool (func_version): Create output all at once. This
may help avoid triggering unnecessary SIGPIPEs, and at any
rate it doesn't hurt.
Karl Berry [Thu, 21 Sep 2006 21:39:23 +0000 (21:39 +0000)]
autoupdate
Karl Berry [Thu, 21 Sep 2006 07:39:01 +0000 (07:39 +0000)]
.
Paul Eggert [Thu, 21 Sep 2006 05:25:11 +0000 (05:25 +0000)]
* lib/regex_internal.c (re_string_reconstruct): Handle
offset < pstr->valid_raw_len && pstr->offsets_needed case.
Ensure no bytes read before raw_mbs array. Pass a saved copy of
pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
re_string_context_at.
* m4/regex.m4 (gl_REGEX): Check for locale.h, since the test
now requires it.
(gl_PREREQ_REGEX): Don't check for locale.h any more, since
gl_REGEX now does it for us.
(gl_REGEX): Add test taken from
http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html.
Paul Eggert [Wed, 20 Sep 2006 22:32:39 +0000 (22:32 +0000)]
* modules/mkstemp (Files): Add mkstemp.h.
Bruno Haible [Wed, 20 Sep 2006 20:18:02 +0000 (20:18 +0000)]
Merge from glibc.
Paul Eggert [Wed, 20 Sep 2006 20:16:48 +0000 (20:16 +0000)]
* mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.
Paul Eggert [Wed, 20 Sep 2006 20:14:40 +0000 (20:14 +0000)]
* mkstemp-safer.c: Include "mkstemp.h".
(mkstemp): Remove, since mkstemp.h does this for us.
Paul Eggert [Wed, 20 Sep 2006 18:48:29 +0000 (18:48 +0000)]
Change mkstemp Include: section to refer to "mkstemp.h".
Paul Eggert [Wed, 20 Sep 2006 18:44:04 +0000 (18:44 +0000)]
[ChangeLog]
* modules/mkstemp (Depends-on): Add extensions, so that
mkstemp is visible on some platforms.
(Makefile.am): Add mkstemp.h to EXTRA_DIST.
[lib/ChangeLog]
* mkstemp.h: New file, since some standard headers
#define mkstemp.
* mkstemp.c: Revamp to put the !_LIBC code together.
Include "mkstemp.h".
Make the _LIBC code resemble glibc original more,
e.g., use K&R style.
* stdlib--.h: Include mkstemp.h.
[m4/ChangeLog]
* mkstemp.m4 (gl_FUNC_MKSTEMP): Require AC_SYS_LARGEFILE.
Check that large offsets work. Modernize Autoconf usages.
Prefer "yes" to mean a good thing rather than a bad.
Don't put "#define mkstemp" in config.h, as this might interfere
with standard system headers that "#define mkstemp mkstemp64".