[net.sources] correction to previous posting: pwd.c

fred@umcp-cs.UUCP (08/09/83)

The version of ``pwd'' which I posted to net.sources a couple
of weeks ago had a bug, which was discovered by qumix!dennis.
It wouldn't print anything when run in the root directory.
To fix it, change the routine ``prname'' to:

	prname()
	{
		if (*np)
			printf("%s\n", np);
		else
			printf("/\n");
		exit(0);
	}

Sorry about that folks.

		Fred Blonder
		harpo!seismo!umcp-cs!fred
		fred.umcp-cs@UDel-Relay