[comp.unix.programmer] replacement getwd

casper@fwi.uva.nl (Casper H.S. Dik) (11/07/90)

I've written a replacement getwd(3) for SunOS 4.x that returns ~user/tail
(with ~user expanded as in /etc/passwd) if the current directory
is a subdirectory of a user's home directory.
[The original might return: /tmp_mnt/foo/bar/bletch/usrs/casper/dir
 the new returns /usr/casper/dir]

I've installed it in my own copy of the shared library and thinks seem
to work fine.

My question is: what utilities (if any) will break because of this?

--
Casper H.S. Dik, casper@fwi.uva.nl,	NIC: !cd151