84d70e63fc
The original idea with libcompat was to keep as few objects as possible for linking with libsyslog. That in turn to prevent a user of libsyslog from suddenly also getting strong binding to symbols like strlcpy() from libsyslog, rather than their C library of choice. However, this caused strlcpy.c to be built as both .o and .lo files, which in turn caused really bizarre build problems due to bad DAG dependency. This patch drops libcompat and instead marks all replacement APIs as weak symbols, which a C library can override. Signed-off-by: Joachim Nilsson <troglobit@gmail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
pidfile.c | ||
strlcat.c | ||
strlcpy.c | ||
utimensat.c |