]> git.proxmox.com Git - wasi-libc.git/commitdiff
Enable flockfile and friends (#362)
authorYAMAMOTO Takashi <yamamoto@midokura.com>
Tue, 13 Dec 2022 17:56:45 +0000 (02:56 +0900)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 2 Aug 2023 10:24:08 +0000 (12:24 +0200)
Makefile
expected/wasm32-wasi/posix/defined-symbols.txt

index 3ed8a189a1840b3830bdeb157401d286d14f2185..aa9d76d6ef5b63d594abb2cfb9074ca4c7b1743a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -195,6 +195,9 @@ LIBC_TOP_HALF_MUSL_SOURCES += \
     $(addprefix $(LIBC_TOP_HALF_MUSL_SRC_DIR)/, \
         env/__init_tls.c \
         stdio/__lockfile.c \
+        stdio/flockfile.c \
+        stdio/ftrylockfile.c \
+        stdio/funlockfile.c \
         thread/__lock.c \
         thread/__wait.c \
         thread/__timedwait.c \
index f5e0013df6723c65986c81e35980ce0670747de7..6bd0fae4ec0d39758217b474390dd86fec3a95a3 100644 (file)
@@ -221,6 +221,7 @@ __qsort_r
 __rand48_step
 __random_lockptr
 __reallocarray
+__register_locked_file
 __release_ptc
 __rem_pio2
 __rem_pio2_large
@@ -649,6 +650,7 @@ fileno
 fileno_unlocked
 finite
 finitef
+flockfile
 floor
 floorf
 floorl
@@ -704,6 +706,8 @@ ftello
 ftello64
 ftime
 ftruncate
+ftrylockfile
+funlockfile
 futimens
 futimesat
 fwide