entered into RCS

From-SVN: r2894
This commit is contained in:
Roland McGrath 1992-12-19 06:32:08 +00:00
parent 3f1f8d8c04
commit 1a98554e53
1 changed files with 2 additions and 0 deletions

View File

@ -59,7 +59,9 @@ getpwd ()
{
int e = errno;
free (p);
#ifdef ERANGE
if (e != ERANGE)
#endif
{
errno = failure_errno = e;
p = 0;