1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-03 06:51:29 +02:00
Commit Graph

3861 Commits

Author SHA1 Message Date
Paul Eggert 4b738e2f5d Sync from gnulib. 2004-11-03 23:15:44 +00:00
Paul Eggert 61619a55a5 (libfetish_a_SOURCES): Remove setenv.c. 2004-11-03 23:05:47 +00:00
Jim Meyering 36ed808afb . 2004-11-03 20:54:10 +00:00
Jim Meyering fcd1aefe35 . 2004-11-03 20:53:32 +00:00
Jim Meyering 29f1f2906c (libfetish_a_SOURCES): Add setenv.c and setenv.h. 2004-11-03 09:20:23 +00:00
Jim Meyering 3c8d863cc6 remove trailing blanks 2004-11-03 08:54:51 +00:00
Paul Eggert 8d05798863 Import from gnulib. 2004-11-03 08:04:49 +00:00
Paul Eggert da9f67dcf6 Regenerate. 2004-11-03 07:47:08 +00:00
Paul Eggert 5a5367474b Sync from gnulib. 2004-11-03 07:44:15 +00:00
Paul Eggert 7babf896a7 Sync from gnulib (for getdate changes). 2004-10-29 23:46:23 +00:00
Paul Eggert a4a87ad5bb Sync from gnulib. 2004-10-29 23:43:34 +00:00
Paul Eggert 3eb23529c5 * mktime.c (leapyear): Arg is long int, not int. 2004-10-24 23:25:18 +00:00
Paul Eggert c707d3acbe (leapyear): Arg is long int, not int. Change imported from gnulib. 2004-10-24 23:24:47 +00:00
Paul Eggert d0bc999e2f pathchk cleanups, gnulib merge 2004-10-18 06:33:20 +00:00
Paul Eggert 0581f17dca Sync from gnulib. 2004-10-18 05:06:47 +00:00
Jim Meyering 3618fc84c3 *** empty log message *** 2004-10-13 19:25:34 +00:00
Jim Meyering 8be7fa2d6a (fts_read): When about to fail (by returning NULL) due
to a failed fchdir or failed fts_safe_changedir call, set
`sp->fts_cur = p'.  Do this by removing the explicit `return NULL;'
statements and setting p->fts_errno so execution falls through
to the common-case code below.  Otherwise, after such a failure,
calling fts_close would attempt to free an already-freed buffer.
Reported by Luis Lopez Lopez in http://bugs.debian.org/276352.
2004-10-13 19:25:30 +00:00
Paul Eggert 75c5c677d6 Regenerate. 2004-10-05 06:53:58 +00:00
Paul Eggert 00873ce076 Rename xclone to xmemdup. Remove obsolete xalloc macros.
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.
2004-10-05 06:52:09 +00:00
Paul Eggert 1ccdcbff40 Sync from gnulib. 2004-10-05 06:05:20 +00:00
Paul Eggert 1cc46fbf53 Sync from gnulib, to remove dependencies of other modules on unlocked-io. 2004-10-04 20:18:43 +00:00
Paul Eggert be1d0e7285 Regenerate. 2004-10-04 04:12:53 +00:00
Paul Eggert 69dee46913 Sync from gnulib. 2004-10-04 04:12:18 +00:00
Paul Eggert 55fbe6686a Sync from gnulib. 2004-10-04 04:09:41 +00:00
Paul Eggert f7dc51fab5 * modechange.c (mode_compile): Don't decrement past start of string. 2004-09-24 07:01:23 +00:00
Paul Eggert d7caebfe16 (mode_compile): Don't decrement a pointer that
points to the start of a string, as the C Standard says the
resulting behavior is undefined.
2004-09-24 07:00:59 +00:00
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