Commit Graph
17308 Commits
Author SHA1 Message Date
Jim Meyering 26c47da032 *** empty log message *** 2003-11-13 07:45:25 +00:00
Jim Meyering 7128acc4c2 Update from gnulib. 2003-11-13 07:45:20 +00:00
Jim Meyering 7559925e7e Update from gnulib. 2003-11-13 07:45:00 +00:00
Jim Meyering 9bdd30ba17 (extract_dirs_from_files): Avoid useless copy operations.
This avoids a warning valgrind about memcpy with overlapping
source and destination.
2003-11-12 09:23:03 +00:00
Jim Meyering b15ebcd4a7 *** empty log message *** 2003-11-11 12:42:09 +00:00
Jim Meyering 35fcd6024f (@chownchgrpoptions): add index entry for this. 2003-11-11 12:42:02 +00:00
Jim Meyering b24c54e8ee (chown invocation) [chownchgrpoptions]: New macro
describing -H, -L, -P options.  Use it here.
(chgrp invocation): And here.
2003-11-11 12:38:07 +00:00
Jim Meyering dd994a63c3 Require automake-1.7.8. 2003-11-11 12:35:49 +00:00
Jim Meyering 056c6ad1aa no longer used -- replaced by fts*.[ch] 2003-11-11 12:21:38 +00:00
Jim Meyering 2a12811f21 *** empty log message *** 2003-11-11 12:21:12 +00:00
Jim Meyering 98a4c708d5 update from gnulib 2003-11-11 07:13:26 +00:00
Jim Meyering c6e903bd69 *** empty log message *** 2003-11-11 07:07:00 +00:00
Jim Meyering e6c342016d Update from gnulib. 2003-11-11 07:06:53 +00:00
Jim Meyering f4f47f1bca *** empty log message *** 2003-11-09 21:19:43 +00:00
Jim Meyering 5ce5b23f26 . 2003-11-09 21:19:18 +00:00
Jim Meyering 1130a40962 *** empty log message *** 2003-11-09 21:18:35 +00:00
Jim Meyering 3bd82a1260 *** empty log message *** 2003-11-09 21:16:27 +00:00
Jim Meyering 97cac0c9ae (libfetish_a_SOURCES): Add root-dev-ino.c root-dev-ino.h. 2003-11-09 21:16:01 +00:00
Jim Meyering 5adb3084c7 *** empty log message *** 2003-11-09 21:15:19 +00:00
Jim Meyering cb3632e2b1 Add lib/root-dev-ino.h. 2003-11-09 21:15:16 +00:00
Jim Meyering 51d9df3a2e Include <sys/types.h> and <sys/stat.h>. 2003-11-09 21:10:55 +00:00
Jim Meyering 46e5242253 *** empty log message *** 2003-11-09 21:10:15 +00:00
Jim Meyering 423c09438e Support new options: --preserve-root and --no-preserve-root. 2003-11-09 21:10:11 +00:00
Jim Meyering 34e3ea0557 Support new options: --preserve-root and --no-preserve-root. 2003-11-09 21:09:27 +00:00
Jim Meyering c2c165a173 Include "root-dev-ino.h".
(chopt_init): Initialize new member.
(change_file_owner): Support rm's new --preserve-root option.
2003-11-09 21:07:31 +00:00
Jim Meyering 70698e5bc7 Include "root-dev-ino.h".
(remove_cwd_entries): Remove now-obsolete FIXME comment.
(remove_dir): Support rm's new --preserve-root option.
2003-11-09 21:06:16 +00:00
Jim Meyering b23e990800 (usage): Describe new options. 2003-11-09 21:04:20 +00:00
Jim Meyering 567bfed936 (usage): Describe new options. 2003-11-09 21:03:57 +00:00
Jim Meyering c3a7cbe225 Include "root-dev-ino.h".
(process_file): Use newly-factored-out ROOT_DEV_INO_CHECK and
ROOT_DEV_INO_WARN macros.
(get_root_dev_ino): Remove function definition, now that it's
been moved to a separate file.
2003-11-09 20:53:21 +00:00
Jim Meyering e172def2ec Initialized new member. 2003-11-09 20:50:37 +00:00
Jim Meyering 7c1e749471 . 2003-11-09 20:49:58 +00:00
Jim Meyering 237a5c2571 Include "dev-ino.h".
(struct rm_options): Add new member: root_dev_ino.
2003-11-09 20:47:54 +00:00
Jim Meyering 7cebcfb565 Include "dev-ino.h".
(struct Chown_option): Add new member: root_dev_ino.
2003-11-09 20:47:15 +00:00
Jim Meyering 94c645d1cf . 2003-11-09 20:16:31 +00:00
Jim Meyering 19376dd257 (dd invocation): Fix typo in example. 2003-11-09 07:21:47 +00:00
Jim Meyering dcbd92dce7 *** empty log message *** 2003-11-08 13:26:25 +00:00
Jim Meyering 03dc7e0b83 Sync from gnulib (this file was previously empty,
to work around some sort of problem).
2003-11-08 13:26:21 +00:00
Jim Meyering 6fbebdd811 . 2003-11-08 13:25:10 +00:00
Jim Meyering 11ff1a5380 *** empty log message *** 2003-11-08 13:24:18 +00:00
Jim Meyering a70f678c69 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
value, $ac_cv_search_nanosleep, if it's "none required".
2003-11-08 13:24:12 +00:00
Jim Meyering b29cc48feb *** empty log message *** 2003-11-07 10:42:40 +00:00
Jim Meyering 642478a27f *** empty log message *** 2003-11-06 10:02:27 +00:00
Jim Meyering 1223022f76 whoops. One more. 2003-11-06 10:01:06 +00:00
Jim Meyering 85011d8cd5 (paste_parallel): Use sizeof *var' rather than hard-coding sizeof FILE*'. 2003-11-06 09:54:28 +00:00
Jim Meyering 5e97cd934e *** empty log message *** 2003-11-06 09:36:50 +00:00
Jim Meyering 1c8fcb100e *** empty log message *** 2003-11-06 09:32:25 +00:00
Jim Meyering f114052f13 *** empty log message *** 2003-11-06 09:28:45 +00:00
Jim Meyering ac5d4cb798 (who): Free `utmp_buf' so there is no confusion about
whether it's leaked or not.
2003-11-06 09:28:40 +00:00
Jim Meyering a5aaf05fbf (main): Free `fstatus' so there is no confusion about
whether it's leaked or not.
2003-11-06 09:28:13 +00:00
Jim Meyering c1f33f59f5 Fix 'cut' problems with size_t overflow and unsigned int.
More generally, resize integer variables to fit use more precisely.

(ADD_RANGE_PAIR): Remove unnecessary parens.
(struct range_pair): Make members to be of type size_t, not unsigned.
(max_range_endpoint, eol_range_start): Now size_t, not unsigned.
(suppress_non_delimited, output_delimiter_specified,
have_read_stdin, print_kth, set_fields): Now bool, nt int.
(delim): Now unsigned char, not int.
(mark_printable_field, is_printable_field, is_range_start_index,
set_fields, set_fields, cut_bytes, cut_fields):
Use size_t, not unsigned, for field and byte counts.
(hash_int): Use uintptr_t, not unsigned, for pointers converted
to integers.  This squeezes more info out of them.
(set_fields, cut_bytes, cut_fields, main):
Use bool, not int, for booleans.
(set_fields): Allocate zeroed byte array with xzalloc, not xcalloc.
2003-11-06 08:37:55 +00:00