getcwd() and friends.
HansM
hm at uva.UUCP
Fri Apr 7 03:36:56 AEST 1989
In article <8136 at chinet.chi.il.us] les at chinet.chi.il.us (Leslie Mikesell) writes:
]Better yet would be a per-process *name* of the current working
]directory stored somewhere, built according the the way you
]happened to get there. This would make getcwd() amount to printing
]static data instead of the contortions it does now,
Sure.
] and as a
]side effect, it would make ".." mean something unsuprising in the
]presence of linked directories.
]
]Les Mikesell
I am afraid that a symlink pointing to "../foo" would do very surprising
things if the meaning of ".." were decided on a per-process basis....
Hans Mulder hm at uva.uucp mcvax!uva!hm
More information about the Comp.unix.wizards
mailing list