[BACK]Return to dir.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/dir.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:45:41 version 1.2, 1995/12/14 03:23:29
Line 1 
Line 1 
 /*      $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.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 42 
Line 42 
 #if 0  #if 0
 static char sccsid[] = "@(#)dir.c       5.6 (Berkeley) 12/28/90";  static char sccsid[] = "@(#)dir.c       5.6 (Berkeley) 12/28/90";
 #else  #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
 #endif /* not lint */  #endif /* not lint */
   
Line 1065 
Line 1065 
             (void)readdir(d);              (void)readdir(d);
   
             while ((dp = readdir (d)) != (struct dirent *) NULL) {              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                   * The sun directory library doesn't check for a 0 inode
                  * (0-inode slots just take up space), so we have to do                   * (0-inode slots just take up space), so we have to do
Line 1074 
Line 1074 
                 if (dp->d_fileno == 0) {                  if (dp->d_fileno == 0) {
                     continue;                      continue;
                 }                  }
 #endif /* sun */  #endif /* sun && !__svr4__ */
                 (void)Hash_CreateEntry(&p->files, dp->d_name, (Boolean *)NULL);                  (void)Hash_CreateEntry(&p->files, dp->d_name, (Boolean *)NULL);
             }              }
             (void) closedir (d);              (void) closedir (d);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2