Jim Meyering
d02e4e7775
Don't let ln be a party to destroying user data.
...
* src/ln.c: Include "file-set.h", "hash.h" and "hash-triple.h".
(dest_set, DEST_INFO_INITIAL_CAPACITY): New globals.
(do_link): Refuse to remove a just-created link.
Record a name,dev,ino triple for each link we create.
(main): Initialize dest_set, if needed.
* tests/mv/childproof: Test for the above fix.
* NEWS: Document this.
Reported by Eric Blake.
Signed-off-by: Jim Meyering <jim@meyering.net >
2007-08-23 14:00:35 +02:00
..
2006-08-22 18:50:24 +00:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-23 14:00:35 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-18 08:53:31 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00