Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/getcwd.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/lib/libc/gen/getcwd.c 1997/07/13 19:00:40 1.6 +++ src/lib/libc/gen/getcwd.c 1997/07/21 14:07:04 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: getcwd.c,v 1.6 1997/07/13 19:00:40 christos Exp $ */ +/* $NetBSD: getcwd.c,v 1.7 1997/07/21 14:07:04 jtc Exp $ */ /* * Copyright (c) 1989, 1991, 1993 @@ -38,13 +38,13 @@ #if 0 static char sccsid[] = "@(#)getcwd.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: getcwd.c,v 1.6 1997/07/13 19:00:40 christos Exp $"); +__RCSID("$NetBSD: getcwd.c,v 1.7 1997/07/21 14:07:04 jtc Exp $"); #endif #endif /* LIBC_SCCS and not lint */ +#include "namespace.h" #include #include - #include #include #include @@ -52,6 +52,10 @@ __RCSID("$NetBSD: getcwd.c,v 1.6 1997/07 #include #include +#ifdef __weak_alias +__weak_alias(getcwd,_getcwd); +#endif + #define ISDOT(dp) \ (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \ (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))