=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/dir.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/make/dir.c 1995/10/18 08:45:41 1.1 +++ src/usr.bin/make/dir.c 1995/12/14 03:23:29 1.2 @@ -1,4 +1,4 @@ -/* $NetBSD: dir.c,v 1.8 1995/06/14 15:19:07 christos Exp $ */ +/* $NetBSD: dir.c,v 1.9 1995/11/22 17:40:05 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)dir.c 5.6 (Berkeley) 12/28/90"; #else -static char rcsid[] = "$NetBSD: dir.c,v 1.8 1995/06/14 15:19:07 christos Exp $"; +static char rcsid[] = "$NetBSD: dir.c,v 1.9 1995/11/22 17:40:05 christos Exp $"; #endif #endif /* not lint */ @@ -1065,7 +1065,7 @@ (void)readdir(d); while ((dp = readdir (d)) != (struct dirent *) NULL) { -#ifdef sun +#if defined(sun) && !defined(__svr4__) /* * The sun directory library doesn't check for a 0 inode * (0-inode slots just take up space), so we have to do @@ -1074,7 +1074,7 @@ if (dp->d_fileno == 0) { continue; } -#endif /* sun */ +#endif /* sun && !__svr4__ */ (void)Hash_CreateEntry(&p->files, dp->d_name, (Boolean *)NULL); } (void) closedir (d);