[BACK]Return to dirname.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/dirname.c between version 1.12 and 1.13

version 1.12, 2014/07/14 20:44:45 version 1.13, 2014/07/16 10:52:26
Line 45  __weak_alias(dirname,_dirname)
Line 45  __weak_alias(dirname,_dirname)
 #endif  #endif
   
 static size_t  static size_t
 dirname_r(const char *path, char *buf, size_t buflen)  xdirname_r(const char *path, char *buf, size_t buflen)
 {  {
         const char *endp;          const char *endp;
         size_t len;          size_t len;
Line 94  char *
Line 94  char *
 dirname(char *path)  dirname(char *path)
 {  {
         static char result[PATH_MAX];          static char result[PATH_MAX];
         (void)dirname_r(path, result, sizeof(result));          (void)xdirname_r(path, result, sizeof(result));
         return result;          return result;
 }  }
 #endif  #endif

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>