Xref: utzoo comp.unix.internals:963 comp.unix.programmer:440 alt.sys.sun:1948 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!fwi.uva.nl!casper From: casper@fwi.uva.nl (Casper H.S. Dik) Newsgroups: comp.unix.internals,comp.unix.programmer,alt.sys.sun Subject: replacement getwd(3). Summary: What will break if getwd() returns a 'soft' path? Message-ID: <1431@carol.fwi.uva.nl> Date: 7 Nov 90 09:57:49 GMT Sender: news@fwi.uva.nl Followup-To: comp.unix.internals Lines: 13 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