projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.24
[debian/tar]
/
gnu
/
openat-proc.c
diff --git
a/gnu/openat-proc.c
b/gnu/openat-proc.c
index e0693be38b0332a274879998d37839a572793901..9b4d9578b3227543dff965208b14a147622c1edc 100644
(file)
--- a/
gnu/openat-proc.c
+++ b/
gnu/openat-proc.c
@@
-77,7
+77,7
@@
openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file)
problem is exhibited on code that built on Solaris 8 and
running on Solaris 10. */
problem is exhibited on code that built on Solaris 8 and
running on Solaris 10. */
- int proc_self_fd = open ("/proc/self/fd", O_
RDONLY
);
+ int proc_self_fd = open ("/proc/self/fd", O_
SEARCH
);
if (proc_self_fd < 0)
proc_status = -1;
else
if (proc_self_fd < 0)
proc_status = -1;
else