[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 and 1.46.2.1

version 1.46, 2010/01/01 19:59:21 version 1.46.2.1, 2011/02/08 16:18:59
Line 54  __RCSID("$NetBSD$");
Line 54  __RCSID("$NetBSD$");
 #include "extern.h"  #include "extern.h"
   
 #ifdef __weak_alias  #ifdef __weak_alias
 __weak_alias(getcwd,_getcwd)  __weak_alias(getcwd,_sys_getcwd)
   __weak_alias(_getcwd,_sys_getcwd)
 __weak_alias(realpath,_realpath)  __weak_alias(realpath,_realpath)
   
   #if defined(_FORTIFY_SOURCE) && !defined(__lint__)
   #undef getcwd
   #define getcwd _sys_getcwd
   #endif
   
 #endif  #endif
   
 /*  /*
Line 205  loop:
Line 212  loop:
         goto loop;          goto loop;
 }  }
   
   
 #if defined(_FORTIFY_SOURCE) && !defined(__lint__)  
 #undef getcwd  
 #define getcwd _getcwd  
 #endif  
   
 char *  char *
 getcwd(char *pt, size_t size)  getcwd(char *pt, size_t size)
 {  {

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.46.2.1

CVSweb <webmaster@jp.NetBSD.org>