Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen make this compile under linux too.
details: https://anonhg.NetBSD.org/src/rev/9e7397b980ad
branches: trunk
changeset: 473636:9e7397b980ad
user: christos <christos%NetBSD.org@localhost>
date: Thu Jun 10 23:40:53 1999 +0000
description:
make this compile under linux too.
diffstat:
lib/libc/gen/__fts13.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e4e017606611 -r 9e7397b980ad lib/libc/gen/__fts13.c
--- a/lib/libc/gen/__fts13.c Thu Jun 10 23:02:43 1999 +0000
+++ b/lib/libc/gen/__fts13.c Thu Jun 10 23:40:53 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __fts13.c,v 1.15 1999/03/16 18:13:44 christos Exp $ */
+/* $NetBSD: __fts13.c,v 1.16 1999/06/10 23:40:53 christos Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
#else
-__RCSID("$NetBSD: __fts13.c,v 1.15 1999/03/16 18:13:44 christos Exp $");
+__RCSID("$NetBSD: __fts13.c,v 1.16 1999/06/10 23:40:53 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -703,7 +703,7 @@
if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name))
continue;
-#if defined(__svr4__) || defined(__SVR4)
+#if defined(__svr4__) || defined(__SVR4) || defined(__linux__)
dlen = strlen(dp->d_name);
#else
dlen = dp->d_namlen;
Home |
Main Index |
Thread Index |
Old Index