Formerly posix/getcwd.c.~10~
authorroland <roland>
Wed, 6 May 1992 23:36:55 +0000 (23:36 +0000)
committerroland <roland>
Wed, 6 May 1992 23:36:55 +0000 (23:36 +0000)
sysdeps/posix/getcwd.c

index 3b39e18..8d0dc15 100644 (file)
@@ -194,7 +194,6 @@ if (size == 0)
          (void) closedir (dirstream);
          (void) memcpy (pathp, d->d_name, d->d_namlen);
          *--pathp = '/';
-         (void) closedir (dirstream);
        }
 
       thisdev = dotdev;