mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:37:35 +00:00
LibC: Add stub forwarders to LibRegex C API
The POSIX C regex functions are expected to live in the C standard library, but Serenity split off its regex library into LibRegex. Make a compromise by implementing stub forwarders for the C regex library that load libregex.so and call the real implementation. This is needed for ports that expect these C functions to be available inside the standard C library without introducing a strong coupling between LibC and LibDl or LibRegex. The non-standard Serenity C++ regex API still lives inside LibRegex as before.
This commit is contained in:
parent
012fc3f923
commit
62cd3af5a0
2 changed files with 61 additions and 0 deletions
|
@ -26,6 +26,7 @@ set(LIBC_SOURCES
|
|||
pty.cpp
|
||||
pwd.cpp
|
||||
qsort.cpp
|
||||
regex.cpp
|
||||
scanf.cpp
|
||||
sched.cpp
|
||||
serenity.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue