mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
socket: Use 64 bit stat for isfdtype (BZ# 29209)
This is a missing spot initially from 52a5fe70a2
.
Checked on i686-linux-gnu.
This commit is contained in:
parent
6e7137f28c
commit
87f1ec12e7
@ -24,12 +24,12 @@
|
||||
int
|
||||
isfdtype (int fildes, int fdtype)
|
||||
{
|
||||
struct stat64 st;
|
||||
struct __stat64_t64 st;
|
||||
int result;
|
||||
|
||||
{
|
||||
int save_error = errno;
|
||||
result = __fstat64 (fildes, &st);
|
||||
result = __fstat64_time64 (fildes, &st);
|
||||
__set_errno (save_error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user