[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.46.2.2 and 1.46.2.3

version 1.46.2.2, 2011/02/17 11:59:22 version 1.46.2.3, 2011/03/05 15:09:19
Line 50  __RCSID("$NetBSD$");
Line 50  __RCSID("$NetBSD$");
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   #include <ssp/ssp.h>
   
 #include "extern.h"  #include "extern.h"
   
 #ifdef __weak_alias  #ifdef __weak_alias
 __weak_alias(getcwd,_sys_getcwd)  __weak_alias(getcwd,_getcwd)
 __weak_alias(_getcwd,_sys_getcwd)  __weak_alias(_sys_getcwd,_getcwd)
 __weak_alias(realpath,_realpath)  __weak_alias(realpath,_realpath)
   
 #if !defined(lint)  
 #undef getcwd  
 #define getcwd _sys_getcwd  
 #if !defined(_FORTIFY_SOURCE)  
 char *_sys_getcwd(char *, size_t);  
 #endif  
   
 #endif  
 #endif  #endif
   
 /*  /*
Line 216  loop:
Line 208  loop:
 }  }
   
 char *  char *
 getcwd(char *pt, size_t size)  __ssp_real(getcwd)(char *pt, size_t size)
 {  {
         char *npt;          char *npt;
   

Legend:
Removed from v.1.46.2.2  
changed lines
  Added in v.1.46.2.3

CVSweb <webmaster@jp.NetBSD.org>