mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-12 19:04:54 +03:00
Update.
2000-09-07 Ulrich Drepper <drepper@redhat.com> * posix/tst-dir.c (main): Correct one bug (missing NULL test) and add one more test.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2000-09-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* posix/tst-dir.c (main): Correct one bug (missing NULL test) and
|
||||||
|
add one more test.
|
||||||
|
|
||||||
2000-09-07 Andreas Jaeger <aj@suse.de>
|
2000-09-07 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
|
* sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
|
||||||
|
@@ -296,7 +296,7 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
/* Try to find the new directory. */
|
/* Try to find the new directory. */
|
||||||
rewinddir (dir1);
|
rewinddir (dir1);
|
||||||
while (readdir64_r (dir1, &direntbuf, &d) == 0)
|
while (readdir64_r (dir1, &direntbuf, &d) == 0 && d != NULL)
|
||||||
{
|
{
|
||||||
#ifdef _DIRENT_HAVE_D_TYPE
|
#ifdef _DIRENT_HAVE_D_TYPE
|
||||||
if (d->d_type != DT_UNKNOWN && d->d_type != DT_DIR)
|
if (d->d_type != DT_UNKNOWN && d->d_type != DT_DIR)
|
||||||
@@ -430,6 +430,12 @@ main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stat64 ("does-not-exist", &st1) >= 0)
|
||||||
|
{
|
||||||
|
puts ("stat for unexisting file did not fail");
|
||||||
|
result = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Free all resources. */
|
/* Free all resources. */
|
||||||
|
|
||||||
if (closedir (dir1) < 0)
|
if (closedir (dir1) < 0)
|
||||||
|
Reference in New Issue
Block a user