Jim Meyering
02fbbc8ea2
`od -c -w9999999' could segfault
...
(dump): Use xnmalloc/free, not alloca.
2003-11-18 16:17:00 +00:00
Jim Meyering
7c062d9fee
*** empty log message ***
2003-11-18 11:37:35 +00:00
Jim Meyering
d0b5b3bc37
*** empty log message ***
2003-11-18 10:06:19 +00:00
Jim Meyering
3b5a75ec1d
.
2003-11-17 16:13:56 +00:00
Jim Meyering
6e1dba89f1
.
2003-11-17 16:13:32 +00:00
Jim Meyering
1d37840643
*** empty log message ***
2003-11-17 16:13:08 +00:00
Jim Meyering
476ff1e623
On systems without utime and without a utimes function capable of
...
dealing with a NULL struct utimbuf* argument, this utime replacement
could -- in unusual circumstances -- leak a file descriptor.
Include <unistd.h> and <errno.h>.
(utime_null): Be sure to close `fd' and to preserve errno.
2003-11-17 16:13:04 +00:00
Jim Meyering
e81926abd0
*** empty log message ***
2003-11-17 13:46:34 +00:00
Jim Meyering
5c2e6471fc
*** empty log message ***
2003-11-16 21:12:56 +00:00
Jim Meyering
013733b29b
*** empty log message ***
2003-11-16 21:12:47 +00:00
Jim Meyering
1ee73006ed
.
2003-11-16 18:14:45 +00:00
Jim Meyering
ff451c096d
*** empty log message ***
2003-11-16 14:13:13 +00:00
Jim Meyering
dda570a8bd
*** empty log message ***
2003-11-16 14:12:04 +00:00
Jim Meyering
dcee303385
Minor tweak: use mkdir -p.
2003-11-16 14:11:59 +00:00
Jim Meyering
b735f5b5b5
.
2003-11-16 14:02:03 +00:00
Jim Meyering
1f4ee4073c
*** empty log message ***
2003-11-16 12:26:02 +00:00
Jim Meyering
51ab3265f8
Fix read-from-free'd-buffer error detected by valgrind.
...
(remove_line): Don't return a pointer to data in
a freed buffer. Instead, arrange to free the buffer on the
subsequent call.
2003-11-16 12:25:35 +00:00
Jim Meyering
8560d7254b
Add test to detect this.
...
This would fail due to reading from freed buffer with coreutils-5.0.91.
2003-11-16 11:52:08 +00:00
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