[patch] rm can have undesired side-effects

Steven Hartland killing at multiplay.co.uk
Mon Oct 30 02:25:38 UTC 2006


From: "Joerg Pernfuss" <elessar at bsdforen.de>
> 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 :)

    Steve


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-hackers mailing list