Commit 1a98554e by Roland McGrath

entered into RCS

From-SVN: r2894
parent 3f1f8d8c
...@@ -59,7 +59,9 @@ getpwd () ...@@ -59,7 +59,9 @@ getpwd ()
{ {
int e = errno; int e = errno;
free (p); free (p);
#ifdef ERANGE
if (e != ERANGE) if (e != ERANGE)
#endif
{ {
errno = failure_errno = e; errno = failure_errno = e;
p = 0; p = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment