mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2000-01-25 Andreas Schwab <schwab@suse.de> * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of FNM_FILE_NAME consistently. * posix/fnmatch.c: Define STRCOLL appropriately for the loop definition. * posix/fnmatch_loop.c: Undefine STRCOLL. * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle kernels with stat64 support. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. Patch by SL Baur <steve@xemacs.org>.
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
#include <sys/syscall.h>
|
||||
#include "kernel-features.h"
|
||||
|
||||
#include <xstatconv.c>
|
||||
|
||||
@ -55,10 +56,14 @@ __lxstat (int vers, const char *name, struct stat *buf)
|
||||
}
|
||||
|
||||
#if __ASSUME_STAT64_SYSCALL > 0
|
||||
result = INLINE_SYSCALL (lstat64, 2, name, &buf64);
|
||||
if (result == 0)
|
||||
result = xstat32_conv (vers, &buf64, buf);
|
||||
return result;
|
||||
{
|
||||
struct stat64 buf64;
|
||||
|
||||
result = INLINE_SYSCALL (lstat64, 2, name, &buf64);
|
||||
if (result == 0)
|
||||
result = xstat32_conv (vers, &buf64, buf);
|
||||
return result;
|
||||
}
|
||||
#else
|
||||
|
||||
# if defined __NR_stat64
|
||||
|
Reference in New Issue
Block a user