getcwd: minor cleanups
authorEric Blake <ebb9@byu.net>
Mon, 7 Sep 2009 11:51:20 +0000 (05:51 -0600)
committerEric Blake <ebb9@byu.net>
Mon, 7 Sep 2009 16:02:20 +0000 (10:02 -0600)
commitbd24844d02c2add6a689c2963d35b9f9bb216147
tree7418ff46fa50865a2ec105d114f8f6cfb6340068
parent370fec14f2e177cf533cb967e2dc04354e883c45
getcwd: minor cleanups

* lib/getcwd.c (AT_FDCWD): Delete; rely on <fcntl.h> instead.
(is_ENAMETOOLONG): Delete; ENAMETOOLONG is portable.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/getcwd.c