Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Fix build with SSP enabled.
details: https://anonhg.NetBSD.org/src/rev/92d0069885f6
branches: trunk
changeset: 762161:92d0069885f6
user: tron <tron%NetBSD.org@localhost>
date: Wed Feb 16 20:20:25 2011 +0000
description:
Fix build with SSP enabled.
diffstat:
lib/libc/gen/getcwd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 45edf63d729d -r 92d0069885f6 lib/libc/gen/getcwd.c
--- a/lib/libc/gen/getcwd.c Wed Feb 16 19:58:01 2011 +0000
+++ b/lib/libc/gen/getcwd.c Wed Feb 16 20:20:25 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getcwd.c,v 1.48 2011/02/15 16:29:09 christos Exp $ */
+/* $NetBSD: getcwd.c,v 1.49 2011/02/16 20:20:25 tron 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.48 2011/02/15 16:29:09 christos Exp $");
+__RCSID("$NetBSD: getcwd.c,v 1.49 2011/02/16 20:20:25 tron Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -58,6 +58,7 @@
__weak_alias(_getcwd,_sys_getcwd)
__weak_alias(realpath,_realpath)
+#if !defined(lint)
#undef getcwd
#define getcwd _sys_getcwd
#if !defined(_FORTIFY_SOURCE)
@@ -65,6 +66,7 @@
#endif
#endif
+#endif
/*
* char *realpath(const char *path, char resolved[MAXPATHLEN]);
Home |
Main Index |
Thread Index |
Old Index