X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetcwd.c;h=6b4894cbf39a6ec69d4ea0a2930ddba9cdd1170d;hb=80a029602f5b2707ca8d2487843ecb9e0df74a6a;hp=6bcbb10dc5ccb3b75c4e1074c2e51243ea5d6963;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/lib/getcwd.c b/lib/getcwd.c index 6bcbb10dc..6b4894cbf 100644 --- a/lib/getcwd.c +++ b/lib/getcwd.c @@ -99,7 +99,7 @@ /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Returns NULL if the directory couldn't be determined or SIZE was too small. If successful, returns BUF. In GNU, if BUF is - NULL, an array is allocated with `malloc'; the array is SIZE bytes long, + NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as necessary. */ char * @@ -410,7 +410,7 @@ __getcwd (char *buf, size_t size) buf = realloc (dir, used); if (buf == NULL) - /* Either buf was NULL all along, or `realloc' failed but + /* Either buf was NULL all along, or 'realloc' failed but we still have the original string. */ buf = dir;