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.44 retrieving revision 1.45 diff -u -p -r1.44 -r1.45 --- src/lib/libc/gen/getcwd.c 2007/06/03 17:39:26 1.44 +++ src/lib/libc/gen/getcwd.c 2007/10/26 19:48:14 1.45 @@ -1,4 +1,4 @@ -/* $NetBSD: getcwd.c,v 1.44 2007/06/03 17:39:26 christos Exp $ */ +/* $NetBSD: getcwd.c,v 1.45 2007/10/26 19:48:14 christos Exp $ */ /* * Copyright (c) 1989, 1991, 1993, 1995 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)getcwd.c 8.5 (Berkeley) 2/7/95"; #else -__RCSID("$NetBSD: getcwd.c,v 1.44 2007/06/03 17:39:26 christos Exp $"); +__RCSID("$NetBSD: getcwd.c,v 1.45 2007/10/26 19:48:14 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -201,7 +201,7 @@ loop: } -#ifdef _FORTIFY_SOURCE +#if defined(_FORTIFY_SOURCE) && !defined(__lint__) #undef getcwd #define getcwd _getcwd #endif