🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #654

Possible "lseek()" bug

#654
From: Mark Campbell
Date: Mon, 14 Dec 1987 22:45
9 lines
961 bytes
It seems that the V.3.1 "lseek()" does not return a negative value when
asserted with a negative offset.  There is some talk in the manual concerning
this behavior with remote file systems; however, this problem appears when
accessed local file descriptors too.

Is there something I'm missing?
-- 
					      Mark Campbell
					      m.campbell@ncrcae.Columbia.NCR.COM
Technical Details
Message-ID: <978@sauron.Columbia.NCR.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!rochester!udel!gatech!hubcap!ncrcae!sauron!campbell
References: <716@hsi.UUCP> <36212@sun.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!rochester!udel!gatech!hubcap!ncrcae!sauron!campbell
From: campbell@sauron.Columbia.NCR.COM (Mark Campbell)
Newsgroups: comp.bugs.sys5
Subject: Possible "lseek()" bug
Message-ID: <978@sauron.Columbia.NCR.COM>
Date: 14 Dec 87 22:45:14 GMT
References: <716@hsi.UUCP> <36212@sun.uucp>
Reply-To: campbell@sauron.Columbia.NCR.COM (Mark Campbell)
Organization: Entry Level Systems Development, NCR Corp., Columbia, SC
Lines: 9
Keywords: lseek
Summary: Should V.3.1 "lseek()" return -1 for call with negative offset?