Darryl L. Miles
c6896e2a74
oa: apply code-review feedback — strcpy_s link fallback + argv cleanup
...
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.
2026-07-09 10:41:12 -04:00
Darryl L. Miles
f3f824a6bb
magicOA.c: strcpy_s declaration (FIXME remove/move this)
2026-07-09 10:41:12 -04:00
Darryl L. Miles
dfa28d1cd3
oa: replace strcpy() with strcpy_s()
2026-07-09 10:41:12 -04:00
Darryl L. Miles
e5d6d3f429
oa/fake_oa_stub (header file oaDB.h)
2026-07-09 10:41:12 -04:00
Darryl L. Miles
9ae91bb4c9
oa: make it build (against stub)
2026-07-09 10:41:12 -04:00
Darryl L. Miles
fd676c5b10
git rm -rf oa/.deps/*
2026-07-09 10:41:12 -04:00
Darryl L. Miles
b1e2913435
Makefile: sed => ${SED}
...
This will find GNU make in preference if available on the platform.
2025-07-29 10:50:32 -04:00
Darryl L. Miles
d55a2b74ac
header file #ifndef guard namespace consistency (global change)
...
This add an effective namespace prefix to the guard ifndef
2025-07-29 10:50:32 -04:00
Darryl L. Miles
3294524111
header file #endif guard trailer comment consistency
...
oa/magicInit.h
utils/malloc.h
2025-07-29 10:50:32 -04:00
Darryl L. Miles
3aebbbd038
Makefile: various consistency matters
...
Using defined variables ${RM} for common tools
error handling
ensuring default target (is not install)
2025-07-29 10:50:32 -04:00
Darryl L. Miles
60463e31be
TCL9: _ANSI_ARGS_ compatibility macro removal
2025-01-04 11:08:01 -05:00
Tim Edwards
2af38a4191
Updates from running the fix-ending-whitespace script.
2020-05-23 17:13:14 -04:00
Tim Edwards
cfccdb84c1
Rewrote the configuration scripts, makefiles, and some initialization
...
routines to use the Tcl and Tk stubs libraries.
2017-10-13 10:28:07 -04:00
Tim Edwards
231a299b16
Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky
2017-04-25 08:41:48 -04:00