Re: [patch] rm can have undesired side-effects



On Mon, 30 Oct 2006 02:24:46 -0000
"Steven Hartland" <killing@xxxxxxxxxxxxxxx> wrote:

From: "Joerg Pernfuss" <elessar@xxxxxxxxxxx>
Correction after some `read the frakkin code':

if (sbp->st_nlink > 1) {
warnx("%s (inode %u): not overwritten due to multiple links",
file, sbp->st_ino);
return (0);

The link is removed, the file is not overwritten and a
warning is generated.

Hehe so it does what we would expect, time for a minor
docs update then :)

Err, that is OpenBSD code :)
Time for a minor code and doc update?

Joerg
--
| /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
| X HTML in email | .the next sentence is true. |
| / \ and news | .the previous sentence was a lie. |

Attachment: signature.asc
Description: PGP signature