Return to getcwd.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / gen |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.24.6.3, 2002/12/10 06:25:48 | version 1.27, 2002/11/17 01:51:24 | ||
---|---|---|---|
|
|
||
/* Save the starting point. */ | /* Save the starting point. */ | ||
if ((fd = open(".", O_RDONLY)) < 0) { | if ((fd = open(".", O_RDONLY)) < 0) { | ||
(void)strlcpy(resolved, ".", MAXPATHLEN); | (void)strcpy(resolved, "."); | ||
return (NULL); | return (NULL); | ||
} | } | ||