diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2013-05-18 00:51:47 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2013-05-18 00:51:47 +0000 |
commit | eab7f6089510455a9b26643c64da331749a15650 (patch) | |
tree | e069c5f33da7c0cffbb68f47ec07b1b10b6789e4 /libc/io/openat64.c | |
parent | f9b341f7c8c64a0df8707b3cf29b425a25a52d12 (diff) | |
download | eglibc2-eab7f6089510455a9b26643c64da331749a15650.tar.gz |
Merge changes between r22954 and r23097 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@23098 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/io/openat64.c')
-rw-r--r-- | libc/io/openat64.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libc/io/openat64.c b/libc/io/openat64.c index fabfa5d38..506da3cf0 100644 --- a/libc/io/openat64.c +++ b/libc/io/openat64.c @@ -68,16 +68,6 @@ libc_hidden_def (__openat64) weak_alias (__openat64, openat64) stub_warning (openat64) - -int -__openat64_2 (fd, file, oflag) - int fd; - const char *file; - int oflag; -{ - if (oflag & O_CREAT) - __fortify_fail ("invalid openat64 call: O_CREAT without mode"); - - return __openat64 (fd, file, oflag); -} +/* __openat64_2 is a generic wrapper that calls __openat64. + So give a stub warning for that symbol too. */ stub_warning (__openat_2) |