Skip to content

Commit

Permalink
Fix ftruncate no working correctly on AOSP platform
Browse files Browse the repository at this point in the history
b/381014767
  • Loading branch information
jonastsai committed Dec 26, 2024
1 parent 6d6386c commit b4ac1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starboard/elf_loader/exported_symbols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ ExportedSymbols::ExportedSymbols() {
REGISTER_SYMBOL(free);
REGISTER_SYMBOL(freeifaddrs);
REGISTER_SYMBOL(fsync);
REGISTER_SYMBOL(ftruncate);
REGISTER_SYMBOL(getsockname);
REGISTER_SYMBOL(listen);
REGISTER_SYMBOL(malloc);
Expand Down Expand Up @@ -585,6 +584,7 @@ ExportedSymbols::ExportedSymbols() {
map_["read"] = reinterpret_cast<const void*>(&__abi_wrap_read);
map_["readdir_r"] = reinterpret_cast<const void*>(&__abi_wrap_readdir_r);
map_["stat"] = reinterpret_cast<const void*>(&__abi_wrap_stat);
map_["ftruncate"] = reinterpret_cast<const void*>(&__abi_wrap_ftruncate);
map_["time"] = reinterpret_cast<const void*>(&__abi_wrap_time);
map_["accept"] = reinterpret_cast<const void*>(&__abi_wrap_accept);
map_["bind"] = reinterpret_cast<const void*>(&__abi_wrap_bind);
Expand Down

0 comments on commit b4ac1e7

Please sign in to comment.