Thanks for the report.
That bug and others are fixed in the latest test release:
  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0m.tar.gz

"Forever shall I be." <[EMAIL PROTECTED]> writes:
| Just noticed a bug in fileutils-4.0, in src/copy.c around line
| 606 or so...
|
|     error (0, 0, _("%s: won't create hard link `%s' to directory `%s'"),
|                  dst_path, earlier_file);
|
| it should be
|
|     error (0, 0, _("%s: won't create hard link `%s' to directory `%s'"),
|                  src_path, dst_path, earlier_file);
|
| if you want to trigger it (different results will occur depending on
| what's on the stack), try making a directory with the subdirectories "1",
| "2", and "3", and nothing else, then do "mv 1 2 3 2" (or mv * 2) in that
| directory...  it'll probably either segfault or give you incorrect
| output..
|
| ex:
| mkdir test
| cd test
| mkdir 1 2 3
| mv * 2

Reply via email to