mirror of git://sourceware.org/git/glibc.git
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
|
int
|
||||||
isfdtype (int fildes, int fdtype)
|
isfdtype (int fildes, int fdtype)
|
||||||
{
|
{
|
||||||
struct stat64 st;
|
struct __stat64_t64 st;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
{
|
{
|
||||||
int save_error = errno;
|
int save_error = errno;
|
||||||
result = __fstat64 (fildes, &st);
|
result = __fstat64_time64 (fildes, &st);
|
||||||
__set_errno (save_error);
|
__set_errno (save_error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue