[net.news.b] Another getwd bug in rn.

sjoerd@tjalk.UUCP (Sjoerd Mullender) (03/14/85)

When rn is called inside the directory /, it says (at least it does here)
`getwd: can't change back to /<junk>' where <junk> 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