[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.52 and 1.53

version 1.52, 2012/06/21 21:13:07 version 1.53, 2012/06/21 23:29:23
Line 183  loop:
Line 183  loop:
                 }                  }
                 n = readlink(resolved, wbuf[idx], sizeof(wbuf[0]) - 1);                  n = readlink(resolved, wbuf[idx], sizeof(wbuf[0]) - 1);
                 if (n < 0)                  if (n < 0)
                         return (NULL);                          goto out;
                 if (n == 0) {                  if (n == 0) {
                         errno = ENOENT;                          errno = ENOENT;
                         goto out;                          goto out;

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

CVSweb <webmaster@jp.NetBSD.org>