X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetcwd.c;h=6b4894cbf39a6ec69d4ea0a2930ddba9cdd1170d;hb=bdaf232db994e039e47c1eefb27ff197390ce95e;hp=9b8171cc03dd2d443fd25c9ed3a963b9a12570b9;hpb=69dba6d784566248205fc990673c14d259c4907f;p=gnulib.git diff --git a/lib/getcwd.c b/lib/getcwd.c index 9b8171cc0..6b4894cbf 100644 --- a/lib/getcwd.c +++ b/lib/getcwd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-1999, 2004-2011 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999, 2004-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify @@ -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;