diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-04 16:29:39 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-04 16:29:39 +0000 |
commit | 6277fdabc074afa76ad5883a4b99cdf8e75de31a (patch) | |
tree | 493a561e4b45b33ca2ead8f26137f857f07611b1 /sysdeps/unix/sysv/linux/i386/fxstatat.c | |
parent | 903ae060db90aa1d72aa67afbc5a5ecabdcdbef7 (diff) | |
download | glibc-6277fdabc074afa76ad5883a4b99cdf8e75de31a.tar.gz glibc-6277fdabc074afa76ad5883a4b99cdf8e75de31a.tar.xz glibc-6277fdabc074afa76ad5883a4b99cdf8e75de31a.zip |
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/fxstatat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/fxstatat.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/fxstatat.c b/sysdeps/unix/sysv/linux/i386/fxstatat.c index 866a6bc555..3f5420cf34 100644 --- a/sysdeps/unix/sysv/linux/i386/fxstatat.c +++ b/sysdeps/unix/sysv/linux/i386/fxstatat.c @@ -102,20 +102,18 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag) if (vers == _STAT_VER_KERNEL) { if (flag & AT_SYMLINK_NOFOLLOW) - result = INTERNAL_SYSCALL (lstat, err, 2, CHECK_STRING (file), + result = INTERNAL_SYSCALL (lstat, err, 2, file, CHECK_1 ((struct kernel_stat *) st)); else - result = INTERNAL_SYSCALL (stat, err, 2, CHECK_STRING (file), + result = INTERNAL_SYSCALL (stat, err, 2, file, CHECK_1 ((struct kernel_stat *) st)); goto out; } if (flag & AT_SYMLINK_NOFOLLOW) - result = INTERNAL_SYSCALL (lstat64, err, 2, CHECK_STRING (file), - __ptrvalue (&st64)); + result = INTERNAL_SYSCALL (lstat64, err, 2, file, __ptrvalue (&st64)); else - result = INTERNAL_SYSCALL (stat64, err, 2, CHECK_STRING (file), - __ptrvalue (&st64)); + result = INTERNAL_SYSCALL (stat64, err, 2, file, __ptrvalue (&st64)); if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) return __xstat32_conv (vers, &st64, st); |