svn commit: r312404 - head/usr.bin/sed

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Fri Jan 20 07:35:46 UTC 2017


> On Jan 19, 2017, at 22:59, Xin Li <delphij at delphij.net> wrote:

…

> There are other issues with previous behavior, for instance, the file
> would inherit permissions from the symlink itself, while a more sensible
> behavior would be to use the permissions on the symlink target.
> 
> But I think it's reasonable to revert for now and do a exp-run so we
> know what would be broken.  Personally I have been running with this for
> a year and that made me thought it's safe :)

I think the lstat’s the incorrect part now — should open with O_NONBLOCK|O_RDONLY and fstat be used instead?
Thanks!
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20170119/e01c6a28/attachment.sig>


More information about the svn-src-head mailing list