Expose ftello64.
Also add the missing test that would have caught this. Bug: http://b/24807045 Change-Id: I756a4d825595b52396b15898e3f717156fd1ba2f
This commit is contained in:
parent
3e75110bcb
commit
e4fa6e9cc7
11 changed files with 11 additions and 0 deletions
|
@ -1229,6 +1229,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1229,6 +1229,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1152,6 +1152,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1255,6 +1255,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1213,6 +1213,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1213,6 +1213,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1152,6 +1152,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1212,6 +1212,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1212,6 +1212,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1152,6 +1152,7 @@ LIBC_N {
|
|||
freeifaddrs;
|
||||
fseeko64;
|
||||
fsetpos64;
|
||||
ftello64;
|
||||
funopen64;
|
||||
getgrgid_r;
|
||||
getgrnam_r;
|
||||
|
|
|
@ -1165,6 +1165,7 @@ TEST(STDIO_TEST, lots_of_concurrent_files) {
|
|||
static void AssertFileOffsetAt(FILE* fp, off64_t offset) {
|
||||
EXPECT_EQ(offset, ftell(fp));
|
||||
EXPECT_EQ(offset, ftello(fp));
|
||||
EXPECT_EQ(offset, ftello64(fp));
|
||||
fpos_t pos;
|
||||
fpos64_t pos64;
|
||||
EXPECT_EQ(0, fgetpos(fp, &pos));
|
||||
|
|
Loading…
Reference in a new issue