[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.45 and 1.46

version 1.45, 2007/10/26 19:48:14 version 1.46, 2010/01/01 19:59:21
Line 74  realpath(const char *path, char *resolve
Line 74  realpath(const char *path, char *resolve
         char *p, wbuf[2][MAXPATHLEN];          char *p, wbuf[2][MAXPATHLEN];
         size_t len;          size_t len;
   
         _DIAGASSERT(path != NULL);  
         _DIAGASSERT(resolved != NULL);          _DIAGASSERT(resolved != NULL);
   
           /* POSIX sez we must test for this */
           if (path == NULL) {
                   errno = EINVAL;
                   return NULL;
           }
   
         /*          /*
          * Build real path one by one with paying an attention to .,           * Build real path one by one with paying an attention to .,
          * .. and symbolic link.           * .. and symbolic link.

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

CVSweb <webmaster@jp.NetBSD.org>