summaryrefslogtreecommitdiff
path: root/openbsd-compat/getcwd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:10:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:10:51 +0000
commitaf4a6c3a5619299a16cfbb545cde110849596204 (patch)
tree4145a5d683ef920d9c1068c09d028e1ce5a73d96 /openbsd-compat/getcwd.c
parent331b6af8fa96417cf126383de7e2ed024b7c7e2c (diff)
- (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications
and minor fixes.
Diffstat (limited to 'openbsd-compat/getcwd.c')
-rw-r--r--openbsd-compat/getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/getcwd.c b/openbsd-compat/getcwd.c
index 778429487..31d1cfe93 100644
--- a/openbsd-compat/getcwd.c
+++ b/openbsd-compat/getcwd.c
@@ -32,7 +32,7 @@
32#if !defined(HAVE_GETCWD) 32#if !defined(HAVE_GETCWD)
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35static char rcsid[] = "$OpenBSD: getcwd.c,v 1.8 2003/06/02 20:18:34 millert Exp $"; 35static char rcsid[] = "$OpenBSD: getcwd.c,v 1.9 2003/06/11 21:03:10 deraadt Exp $";
36#endif /* LIBC_SCCS and not lint */ 36#endif /* LIBC_SCCS and not lint */
37 37
38#include <sys/param.h> 38#include <sys/param.h>
@@ -50,7 +50,7 @@ static char rcsid[] = "$OpenBSD: getcwd.c,v 1.8 2003/06/02 20:18:34 millert Exp
50 (dp->d_name[1] == '.' && dp->d_name[2] == '\0'))) 50 (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
51 51
52char * 52char *
53getcwd(char *pt,size_t size) 53getcwd(char *pt, size_t size)
54{ 54{
55 register struct dirent *dp; 55 register struct dirent *dp;
56 register DIR *dir = NULL; 56 register DIR *dir = NULL;