Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 3.1.5-pws-12: getcwd



On Mar 15,  1:32pm, Peter Stephenson wrote:
} Subject: Re: PATCH: 3.1.5-pws-12: getcwd
}
} "Andrej Borsenkow" wrote:
} > What is wrong with native getcwd? (Apart, that it may use native
} > malloc() to allocate buffer)? If there are any known problems, is it
} > possible to write a configure check for them?
} 
} The only problem I can see is that getcwd() is passed a fixed buffer size
} [...] Does anyone know more?

There's always the searchable archive ...

http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=3480
http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=3481

These articles ring a bell to the effect that zgetdir() is working around
some kind of problem with crossing of NFS mount points when walking up
the directory tree, affecting some but perhaps not all implementations
of get[c]wd().

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author