Date: Mon, 21 Nov 2011 11:01:20 +0530 From: Ramanjaneyulu Talla <Ramanjaneyulu.Talla@citrix.com> To: "perryh@pluto.rain.com" <perryh@pluto.rain.com>, "arundel@freebsd.org" <arundel@freebsd.org> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, "nox@jelal.kn-bremen.de" <nox@jelal.kn-bremen.de> Subject: Re: easy way to determine if a stream or fd is seekable Message-ID: <CAEFDFFE.1E621%ramanjaneyulu.talla@citrix.com> In-Reply-To: <4eca40f5.fvA0Xb1G9w%2BwuGj6%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/11/11 5:45 PM, "perryh@pluto.rain.com" <perryh@pluto.rain.com> wrote: >Alexander Best <arundel@freebsd.org> wrote: > >> here's a revised patch. >> ... >> +.Sh CAVEATS >> +If the >> +.Fn lseek >> +system call is operating on a device, which is incapable of seeking, >> +it will request the seek operation and complete successfully. > >I think it would be better without the first comma (after "device"). > >IMO the whole section should be added to BUGS rather than creating >a new CAVEATS section. Returning "success" when the requested >operation actually _failed_ is a serious POLA violation. >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEFDFFE.1E621%ramanjaneyulu.talla>