I was trying to write a simple "find" utility because I didn't have a
port handy and I was getting tired of trying to find files by hand.
I noticed that chdir() always returns 0, even if you try to go to
a directory that doesn't exist. A brief glance at the definition in
libc/open.c shows that in fact this is the case. There's also an
open_c.vim file in the distribution, which suggests someone was
hacking on the file at the time.
I'll patch it up in my own sources but I was wondering if there is an
"official" fix that has been adopted for this.
-Calvin
Received on Sun Apr 9 15:26:57 1995
This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:27 PDT