projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't allow use when using _FILE_OFFSET_BITS=64.
[kopensolaris-gnu/glibc.git]
/
sysdeps
/
unix
/
grantpt.c
diff --git
a/sysdeps/unix/grantpt.c
b/sysdeps/unix/grantpt.c
index
76bda07
..
df155eb
100644
(file)
--- a/
sysdeps/unix/grantpt.c
+++ b/
sysdeps/unix/grantpt.c
@@
-109,7
+109,7
@@
grantpt (int fd)
if (pts_name (fd, &buf, sizeof (_buf)))
return -1;
- if (__
stat (
buf, &st) < 0)
+ if (__
xstat (_STAT_VER,
buf, &st) < 0)
goto cleanup;
/* Make sure that we own the device. */