Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site tjalk.UUCP Path: utzoo!watmath!clyde!cbosgd!ulysses!allegra!mit-eddie!godot!harvard!seismo!mcvax!vu44!botter!tjalk!sjoerd From: sjoerd@tjalk.UUCP (Sjoerd Mullender) Newsgroups: net.news.b Subject: Another getwd bug in rn. Message-ID: <441@tjalk.UUCP> Date: Thu, 14-Mar-85 10:27:31 EST Article-I.D.: tjalk.441 Posted: Thu Mar 14 10:27:31 1985 Date-Received: Sun, 17-Mar-85 00:13:41 EST Reply-To: sjoerd@tjalk.UUCP (Sjoerd Mullender) Organization: VU Informatica, Amsterdam Lines: 12 When rn is called inside the directory /, it says (at least it does here) `getwd: can't change back to /' where is a part of my environment. The fix is trivial: in the routine getwd (in util.c) add a line *np = 0; after the line reading *np++ = '/'; I sent mail to Larry Wall, but the fix is so easy that I thought I'll post it. -- Sjoerd Mullender ...!{decvax,philabs,seismo}!mcvax!vu44!sjoerd