[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.4.2 and 1.6

version 1.5.4.2, 1996/09/19 20:02:41 version 1.6, 1997/07/13 19:00:40
Line 33 
Line 33 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
   #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 #if 0  #if 0
 static char sccsid[] = "@(#)getcwd.c    8.1 (Berkeley) 6/4/93";  static char sccsid[] = "@(#)getcwd.c    8.1 (Berkeley) 6/4/93";
 #else  #else
 static char rcsid[] = "$NetBSD$";  __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 52  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')))
   
 char *  char *
 getcwd(pt, size)  getcwd(pt, size)

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

CVSweb <webmaster@jp.NetBSD.org>