Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp Make this compile on linux [zoularis on linux wo...



details:   https://anonhg.NetBSD.org/src/rev/845d926f3425
branches:  trunk
changeset: 473654:845d926f3425
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 12 18:07:34 1999 +0000

description:
Make this compile on linux [zoularis on linux works]

diffstat:

 usr.bin/ftp/complete.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 998dfff632f7 -r 845d926f3425 usr.bin/ftp/complete.c
--- a/usr.bin/ftp/complete.c    Sat Jun 12 18:06:40 1999 +0000
+++ b/usr.bin/ftp/complete.c    Sat Jun 12 18:07:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: complete.c,v 1.21 1999/03/08 03:09:08 lukem Exp $      */
+/*     $NetBSD: complete.c,v 1.22 1999/06/12 18:07:34 christos Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: complete.c,v 1.21 1999/03/08 03:09:08 lukem Exp $");
+__RCSID("$NetBSD: complete.c,v 1.22 1999/06/12 18:07:34 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -219,7 +219,7 @@
                if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, ".."))
                        continue;
 
-#ifndef __SVR4
+#if defined(__SVR4) || defined(__linux__)
                if (len > dp->d_namlen)
                        continue;
 #else



Home | Main Index | Thread Index | Old Index