Xref: utzoo comp.unix.questions:7898 news.misc:1591 Path: utzoo!attcan!uunet!husc6!mailrus!ames!killer!vector!rpp386!pigs!haugj From: haugj@pigs.UUCP (Joe Bob Willie) Newsgroups: comp.unix.questions,news.misc Subject: Re: Rn on a V.3 machine Summary: Trash the getwd code in util.c Message-ID: <232@pigs.UUCP> Date: 1 Jul 88 17:56:18 GMT References: <4@isg300.UUCP> Reply-To: haugj@pigs.UUCP (Joe Bob Willie) Followup-To: comp.unix.questions Organization: Big "D" Oil and Gas Lines: 28 In article <4@isg300.UUCP> jsh0@isg300 (J. Steven Harrison) writes: >It seems that in the file util.c getwd only works for root on the root >partition (drive 1) without getting the error "getwd: read error in ..". >If run as root from the second drive as root you get the same error and >if run as any user on the system (that doesn't have uid=0) the same error >also results. > >Has anyone already solved this problem?? We are running on AT&T 3B2 600's, >700's and a 4000. >-- >Steven Harrison the trouble seems to be with incompatibilities between the libndir code which rn was written to use, and the libndir code on USG Unix. i have doug gywn's posix compatible routines here and rn doesn't work with them. the fix was to not use 8-( the libraries and have getwd() pipe the results of pwd into a buffer. this has worked since i am now using rn to read news here, as opposed to vnews which i was using last week. - john. -- Joe Bob Willie Big "D" Oil and Gas UUCP: ...!killer!rpp386!jfh jfh@rpp386.uucp :DOMAIN **** Trivia question of the day: VYARZERZIMANIMORORSEZASSEZANSERAREORSES? **** "You are in a twisty little maze of UUCP connections, all alike" -- fortune