[BACK]Return to getcwd.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/getcwd.c between version 1.5 and 1.5.4.2

version 1.5, 1995/06/16 07:05:30 version 1.5.4.2, 1996/09/19 20:02:41
Line 41  static char rcsid[] = "$NetBSD$";
Line 41  static char rcsid[] = "$NetBSD$";
 #endif  #endif
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
   #include "namespace.h"
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/stat.h>  #include <sys/stat.h>
   
Line 51  static char rcsid[] = "$NetBSD$";
Line 52  static char rcsid[] = "$NetBSD$";
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   
   #ifdef __weak_alias
   __weak_alias(getcwd,_getcwd);
   #endif
   
 #define ISDOT(dp) \  #define ISDOT(dp) \
         (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \          (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
             dp->d_name[1] == '.' && dp->d_name[2] == '\0'))              dp->d_name[1] == '.' && dp->d_name[2] == '\0'))

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.4.2

CVSweb <webmaster@jp.NetBSD.org>