[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
minor bug fix for ln
From: |
Frederik Eaton |
Subject: |
minor bug fix for ln |
Date: |
01 Jul 2001 15:11:00 -0700 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft) |
Dear bug-fileutils,
Not quite sure what's the correct way to submit a bug fix but...
Here is a patch for src/ln.c, fileutils 4.1:
227c227
< && (backup_type == none || !symlink)
---
> && (backup_type == none || !symbolic_link)
Here is the behavior of ln before the patch:
$ > k
$ ./ln -f --backup k k
./ln: creating hard link `k' to `k': No such file or directory
and after the patch:
$ ./ln -f --backup k k
./ln: `k' and `k' are the same file
Regards,
Frederik Eaton
- minor bug fix for ln,
Frederik Eaton <=