cvs commit: src/lib/libc/gen getcwd.c

[ Available lists | Index of cvs-src-old | Month of Oct 2009 | Week of 13 Oct 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jilles Tjoelker <jilles@FreeBSD.org>
Date
13 Oct 2009 20:58:44
Subject
cvs commit: src/lib/libc/gen getcwd.c
Message-ID
200910132058.n9DKwiAv078971@repoman.freebsd.org


[ Hide this part ]
jilles      2009-10-13 20:58:22 UTC

FreeBSD src repository

Modified files:
lib/libc/gen getcwd.c
Log:
SVN rev 198053 on 2009-10-13 20:58:22Z by jilles

Make getcwd(3) faster, simpler and more compliant using *at syscalls.

It is no longer necessary to construct long paths consisting of repeated
"../" which may be slow to process and may exceed PATH_MAX.

Revision Changes Path
1.30 +18 -45 src/lib/libc/gen/getcwd.c

Elapsed time: 0.082 seconds