Jim Meyering
c9461eac70
Use automake-1.9.2. Regenerate dependent files.
2004-09-22 20:18:41 +00:00
Jim Meyering
745b7762a1
*** empty log message ***
2004-09-22 20:16:41 +00:00
Jim Meyering
cc6fefeb09
Remove trailing blanks.
2004-09-22 20:16:38 +00:00
Jim Meyering
b018a4495c
Remove extraneous spaces before TAB.
2004-09-22 20:15:49 +00:00
Jim Meyering
ea94d80627
*** empty log message ***
2004-09-22 20:14:48 +00:00
Jim Meyering
9258132a73
Remove trailing blank.
2004-09-22 20:14:25 +00:00
Paul Eggert
1657fe1f64
Rename backup enum to avoid shadowing problems.
2004-09-13 12:15:56 +00:00
Paul Eggert
e6bcd96876
(enum backuptype): Rename none -> no_backups,
...
simple -> simple_backups, numbered_existing ->
numbered_existing_backups, numbered -> numbered_backups
to avoid shadowing problems. All uses changed.
(VALID_BACKUP_TYPE): Don't evaluate arg more than once.
2004-09-13 12:11:34 +00:00
Paul Eggert
b2fadec71b
(check_extension, numbered_backup):
...
Rename locals to avoid shadowing 'basename'.
2004-09-13 12:10:57 +00:00
Paul Eggert
e55016b54d
(enum backuptype): Rename none -> no_backups,
...
simple -> simple_backups, numbered_existing ->
numbered_existing_backups, numbered -> numbered_backups
to avoid shadowing problems. All uses changed.
2004-09-13 12:10:30 +00:00
Paul Eggert
3070e8cd08
Undo previous change.
2004-09-08 23:07:04 +00:00
Paul Eggert
ec7650c027
c-strtod.c sets LC_ALL, not LC_NUMERIC.
2004-09-08 17:02:01 +00:00
Paul Eggert
248313ef6a
(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid the
...
unlikely possibility of mixed locales screwing things up.
2004-09-08 17:00:24 +00:00
Paul Eggert
5e2e647328
Port to diet libc.
2004-09-02 23:59:52 +00:00
Paul Eggert
905aee9238
(FTSENT): Use "unsigned short int" rather than the unportable "u_short".
2004-09-02 23:57:30 +00:00
Paul Eggert
1c5ed711bb
(fts_stat, fts_open, fts_read): Use "unsigned short int"
...
rather than the unportable "u_short", and similarly for u_int.
2004-09-02 23:56:59 +00:00
Paul Eggert
5dd2658cb2
Regenerate.
2004-08-20 02:12:59 +00:00
Paul Eggert
529a7c21fd
Sync getopt from gnulib.
2004-08-20 02:10:15 +00:00
Paul Eggert
463f2060b7
Add getopt_.h, getopt_int.h.
2004-08-20 02:09:41 +00:00
Paul Eggert
9308e71ada
Add support for "chown : file" and the like.
...
Also, fix a regression and some memory leaks.
2004-08-19 20:07:20 +00:00
Paul Eggert
5e93200bbc
Don't use <alloca.h>, so that we don't use alloca on
...
strings on unbounded length. alloca's performance benefits aren't
that important here.
(V_STRDUP): Remove.
(parse_with_separator): New function, with most of the internals
of the old parse_user_spec. Allow user to omit both user and group,
for compatibility with FreeBSD.
Clone only the user name, not the entire spec.
Do not set *uid, *gid unless entirely successful.
Avoid memory leak in some failing cases.
Fix regression for USER.GROUP reported by Dmitry V. Levin in
<http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html >
(parse_user_spec): Rewrite to use parse_with_separator.
2004-08-19 20:04:42 +00:00
Paul Eggert
6bf086b820
Add fts.h, search.h.
2004-08-18 20:48:50 +00:00
Paul Eggert
8c3f76651a
Regenerate.
2004-08-11 23:47:29 +00:00
Paul Eggert
312acd2aad
Fix typo: missing ).
2004-08-11 22:30:23 +00:00
Paul Eggert
22a64d7a4b
minor porting fixes (e.g., obstack)
2004-08-11 22:26:17 +00:00
Paul Eggert
9af4ab33f0
Do not include error.h. (merge from gnulib).
2004-08-11 22:24:25 +00:00
Paul Eggert
fdb9542df7
Include <inttypes.h> and <stdint.h> if available.
...
(union fooround): Use uintmax_t, not long int.
The rest is a merge from libc:
[defined _LIBC]: Include <shlib-compat.h>.
(_obstack) [defined _LIBC]: Remove after 2.3.4.
2004-08-11 22:24:14 +00:00
Paul Eggert
254e577b86
(settime): Recode to avoid warning with Sun Forte C 6U2.
2004-08-11 22:24:04 +00:00
Paul Eggert
c1dac962eb
(O_DIRECTORY): Define to 0 if the system doesn't define.
2004-08-11 22:23:54 +00:00
Paul Eggert
0518fd8571
Fix porting problem to Reliant Unix.
2004-08-11 17:53:50 +00:00
Paul Eggert
f4364ab87c
(WIDE_CHAR_SUPPORT): Don't set to 1 if missing
...
wmemchr or wmemcpy. Problem reported by Robert Dahlem
for Reliant Unix 5.43.
2004-08-11 17:53:34 +00:00
Paul Eggert
faca6bfc15
Convert to UTF-8.
2004-08-10 22:47:08 +00:00
Paul Eggert
145d804068
Regenerate.
2004-08-10 06:54:15 +00:00
Paul Eggert
1b26801391
Sync with gnulib.
2004-08-10 05:43:11 +00:00
Paul Eggert
f305d3a224
Improve code to work in some cases when files are writeable but not readable.
2004-08-09 23:35:15 +00:00
Paul Eggert
e077b28593
(diropen): New function.
...
(fts_open, fts_read, fts_children, fts_safe_changedir):
Use it, so that the code works even if the directory
is writeable but not readable.
2004-08-09 23:34:15 +00:00
Paul Eggert
1ff6d6ea07
(rpl_chown): Work even if the file is writeable but not readable.
2004-08-09 23:33:53 +00:00
Paul Eggert
6d8737eba8
Change to UTF-8.
2004-08-09 23:26:57 +00:00
Paul Eggert
b05866ea03
Import from gnulib.
2004-08-09 23:26:08 +00:00
Paul Eggert
5d204d4e2f
Regenerate.
2004-08-09 18:51:05 +00:00
Paul Eggert
8ad3011df3
Remove dependency of xalloc on error, etc.
2004-08-09 18:44:46 +00:00
Paul Eggert
4573c9e81c
Finish renaming sha -> sha1.
2004-08-09 18:16:21 +00:00
Paul Eggert
a86c457f64
Merge from gnulib.
2004-08-07 07:16:54 +00:00
Paul Eggert
a3538ea055
Regenerate.
2004-08-05 23:11:21 +00:00
Paul Eggert
d86254a25a
Sync from gnulib.
2004-08-05 23:01:03 +00:00
Paul Eggert
4cf9045aa3
Fixes for OpenBSD 3.4.
2004-08-04 22:51:03 +00:00
Paul Eggert
4e3640a010
(SIZE_MAX): Define after including files, to avoid
...
a collision on OpenBSD 3.4.
2004-08-04 22:08:33 +00:00
Paul Eggert
0e591504c8
(LONGEST_MODIFIER): New macro.
...
(PRIuMAX) [!PRI_MACROS_BROKEN && !defined PRIuMAX]: New macro.
(find_matching_ancestor): Use it for dev_t and ino_t.
2004-08-04 21:58:46 +00:00
Paul Eggert
fade486c60
Sync from gnulib.
2004-08-04 20:58:57 +00:00
Paul Eggert
a617eff5dc
Work around bug in OpenBSD 3.4 sterror_r: it
...
sometimes returns a positive errno value even when it succeeds.
(print_errno_message) [!LIBC]: Fall back on strerror if
__strerror_r fails.
2004-08-04 19:35:24 +00:00