Follow-up to review-master-upstream-20249999-oa-dcff2f64-6535a4e1.md: - strcpy_s: add an inline fallback implementation right after the declaration, guarded by #ifndef __STDC_LIB_EXT1__. glibc never defines that macro and does not provide the C11 Annex K interfaces, so the bare declaration was an unresolved symbol at link time; the fallback makes magicOA.o self-contained (strcpy_s becomes a defined symbol) while a real Annex K libc still wins. - magicInit.cpp / magicOA.cpp: use `char argvbuf[] = "tclsh"` for the mutable argv string instead of `char[32]` + snprintf. |
||
|---|---|---|
| .. | ||
| fake_oa_stub/oa/include | ||
| Makefile | ||
| magicInit.cpp | ||
| magicInit.h | ||
| magicOA.cpp | ||
| magicOA.h | ||
| oa.c | ||
| oa.h | ||