Date: Mon, 30 Oct 2006 03:32:00 +0100 From: Joerg Pernfuss <elessar@bsdforen.de> To: <freebsd-hackers@freebsd.org> Cc: Steven Hartland <killing@multiplay.co.uk> Subject: Re: [patch] rm can have undesired side-effects Message-ID: <20061030033200.5ab1bd51@loki.starkstrom.lan> In-Reply-To: <005401c6fbca$95c180d0$b3db87d4@multiplay.co.uk> References: <20061029222847.GA68272@marvin.astase.com> <20061030003628.42bc5f8d@loki.starkstrom.lan> <00f201c6fbb6$0c6bd150$b3db87d4@multiplay.co.uk> <20061030024358.39a12359@loki.starkstrom.lan> <20061030030636.66af0924@loki.starkstrom.lan> <005401c6fbca$95c180d0$b3db87d4@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_Wa.YrvDkrrHU0xrLeMtn874 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 30 Oct 2006 02:24:46 -0000 "Steven Hartland" <killing@multiplay.co.uk> wrote: > From: "Joerg Pernfuss" <elessar@bsdforen.de> > > Correction after some `read the frakkin code': > >=20 > > 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. >=20 > 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 --=20 | /"\ 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. | --Sig_Wa.YrvDkrrHU0xrLeMtn874 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFFRWQgH31s/bvKrSQRAmHAAJ9Ip6XKykSgJOij6sDDO+g7IxhEEACdEwzn JzL+B2OcPeMID2I+HCxpwzU= =dOXj -----END PGP SIGNATURE----- --Sig_Wa.YrvDkrrHU0xrLeMtn874--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061030033200.5ab1bd51>