1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-06 17:56:21 +02:00
Commit Graph

2155 Commits

Author SHA1 Message Date
Jim Meyering 629576ece4 *** empty log message *** 2001-10-11 15:52:22 +00:00
Jim Meyering b729ec75ca (argmatch_invalid): Use quotearg_n_style (0, ...
and quote_n (1, ... to avoid clobbering a buffer.
2001-10-11 15:52:17 +00:00
Jim Meyering 8b856a3132 . 2001-10-05 11:45:36 +00:00
Jim Meyering a97b7f61ff (libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h. 2001-10-05 11:45:25 +00:00
Jim Meyering 0b9c7cac74 *** empty log message *** 2001-10-05 11:44:30 +00:00
Jim Meyering 2fa9e8e2d9 *** empty log message *** 2001-09-30 21:28:26 +00:00
Jim Meyering 565b41ed31 [MOUNTED_GETFSSTAT]:
Include <sys/ucred.h>, for Apple Darwin.
Include sys/mount.h and sys/fs_types.h only if available.
(FS_TYPE): Define.
(read_filesystem_list): Use FS_TYPE.
2001-09-30 21:28:15 +00:00
Jim Meyering 3bf61e47d8 *** empty log message *** 2001-09-30 06:26:57 +00:00
Jim Meyering 1c670cbcd2 (excluded_filename): 0 -> false, since it's a boolean context. 2001-09-30 06:26:46 +00:00
Jim Meyering 9893f72169 *** empty log message *** 2001-09-28 19:35:01 +00:00
Jim Meyering 9a8547bc45 (strtol): Do not declare if HAVE_DECL_STRTOL.
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.
2001-09-28 19:34:31 +00:00
Jim Meyering 50ab0a78e0 *** empty log message *** 2001-09-26 08:27:49 +00:00
Jim Meyering ea59c2ae6d (USE_UNLOCKED_IO): Define to 1 if not already defined. 2001-09-26 08:27:42 +00:00
Jim Meyering 8cd9be5598 . 2001-09-26 08:22:37 +00:00
Jim Meyering dc374320b8 *** empty log message *** 2001-09-26 08:21:55 +00:00
Jim Meyering 5f97defa02 remove now-unused tmp/trap junk 2001-09-26 08:21:06 +00:00
Jim Meyering 8910e98330 exit from only one place: the end 2001-09-26 08:20:38 +00:00
Jim Meyering a11576bb59 portability tweaks 2001-09-26 08:19:17 +00:00
Jim Meyering de7d4fdb5f *** empty log message *** 2001-09-26 08:13:41 +00:00
Jim Meyering ddbaad372e (unlocked-io.h): Use $(SHELL). 2001-09-26 08:13:27 +00:00
Jim Meyering 70729acb60 . 2001-09-26 08:11:20 +00:00
Jim Meyering 5b60bebabb (unlocked-io.h): Rewrite to use a separate script,
rather than trying to embed it here.
(EXTRA_DIST): Add gen-uio.  Remove unlocked-io.hin
2001-09-26 08:11:01 +00:00
Jim Meyering 29f888398d . 2001-09-26 07:55:04 +00:00
Jim Meyering ec6cab66bf *** empty log message *** 2001-09-25 13:01:36 +00:00
Jim Meyering 08575c4bce (rpl_gettimeofday): Declare local variable `result'. 2001-09-25 13:01:22 +00:00
Jim Meyering b310d2131d . 2001-09-23 15:47:00 +00:00
Jim Meyering 5e7630f24f *** empty log message *** 2001-09-23 08:56:27 +00:00
Jim Meyering 4bccf0b322 Remove useless parentheses in #if directives.
(MOUNTED) [!defined MOUNTED]: Define to _PATH_MOUNTED, for when
the deprecated MOUNTED symbol is no longer defined in mntent.h.
2001-09-23 08:56:11 +00:00
Jim Meyering b7b37133ac . 2001-09-22 16:39:57 +00:00
Jim Meyering e8d79c1502 *** empty log message *** 2001-09-22 15:08:51 +00:00
Jim Meyering 8d45c22c3c Update from latest gettext. 2001-09-22 15:08:35 +00:00
Jim Meyering 16aef05416 . 2001-09-22 13:27:04 +00:00
Jim Meyering 8000bd993e . 2001-09-22 13:18:57 +00:00
Jim Meyering b5fd786410 (strtoimax): Guard declaration with
`#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
have their own, conflicting declaration of strtoimax in sys/inttypes.h.
(strtoumax): Likewise, for completeness (it wasn't necessary).
2001-09-20 14:46:55 +00:00
Jim Meyering b6f0933da1 *** empty log message *** 2001-09-17 10:24:27 +00:00
Jim Meyering d6e1aff5e6 (HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.
2001-09-17 10:24:20 +00:00
Jim Meyering dd5500c678 . 2001-09-16 12:43:33 +00:00
Jim Meyering e105aad760 *** empty log message *** 2001-09-16 12:42:14 +00:00
Jim Meyering 09026d5413 *** empty log message *** 2001-09-04 20:28:35 +00:00
Jim Meyering c01a38db4d Revert some of the previous change; intead,
fix the HAVE_GETCWD_NULL code to behave more like the
!HAVE_GETCWD_NULL code used to.

Include "xalloc.h".
(xgetcwd): Do not return NULL when memory is exhausted; instead,
invoke xalloc_die.
2001-09-04 20:28:31 +00:00
Jim Meyering 121f936e4f . 2001-09-04 20:22:47 +00:00
Jim Meyering 28526f7763 (xreadlink): Update prototype. 2001-09-04 20:21:54 +00:00
Jim Meyering beb34bac0a (xreadlink): Omit size_t* arg. All uses changed.
Use ssize_t, not int, to store result of readlink.
Check for ssize_t overflow as well as size_t overflow,
as POSIX says the result of readlink is implementation-defined
when ssize_t overflows.
Remove unnecessary cast to char*.
Use free+malloc instead of realloc, as the storage doesn't need
to be preserved and it's clearer and can be more efficient that way.
(SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare.
2001-09-04 20:20:16 +00:00
Jim Meyering 6ea18cc152 *** empty log message *** 2001-09-03 18:46:09 +00:00
Jim Meyering 5aa9a43b0c (fnmatch_no_wildcards): Fix confusion between
usage of FNM_CASEFOLD and FNM_LEADING_DIR.  The bug was
spotted by Jim Meyering.
2001-09-03 18:45:20 +00:00
Jim Meyering f839ec4d47 include errno.h etc, too 2001-09-03 18:32:05 +00:00
Jim Meyering b2b3e046e7 *** empty log message *** 2001-09-03 18:26:58 +00:00
Jim Meyering f5d7ab79b8 tweak comment 2001-09-03 18:26:42 +00:00
Jim Meyering c9488ff0e1 (xreadlink): Preserve errno around `free' during failure. 2001-09-03 18:25:58 +00:00
Jim Meyering 8df5a2474c update comment re power of 2 2001-09-03 18:24:37 +00:00