magic/router
Intubun 537d370536 Fix five latent bugs surfaced while porting to WASM
These bugs all exist in stock Magic but were tolerated by the K&R-loose
native build. The strict WASM call_indirect type checks turned them up.

* cif/CIFhier.c: ASSERT in cifFlatMaskHints accessed
  oldproprec->prop_value.prop_type, but prop_type is a top-level member
  of PropertyRecord. Changed to oldproprec->prop_type.

* extflat/EFargs.c: efLoadSearchPath was assigning a pointer to a
  string literal ("." in RO data), which callers later try to free or
  StrDup. Replaced with StrDup(path, ".") so the pointer always lives
  on the heap.

* router/rtrVia.c: rtrFollowName called RtrMilestonePrint("#"), but
  the function takes no arguments.

* sim/SimSelect.c: SimAddLabels called DBWLabelChanged with five
  arguments, but its real signature is (CellDef *, Label *, int).
  Replaced with the equivalent DBWAreaChanged call.

* windows/windView.c: extern declaration of DBMovePoint had return
  type void, but the function actually returns bool.
2026-05-11 14:20:47 -04:00
..
Makefile Makefile: whitespace only change 2025-07-29 10:50:32 -04:00
router.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
routerInt.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
rtrChannel.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
rtrCmd.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
rtrDcmpose.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
rtrDcmpose.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
rtrFdback.c gcc11 -Wall -Wpedantic cleanup 2025-01-06 16:12:11 +00:00
rtrHazards.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
rtrMain.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
rtrPaint.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
rtrPin.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
rtrSide.c Corrected a callback function call in the router code which was 2026-01-20 15:56:50 -05:00
rtrStem.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
rtrTech.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
rtrTravers.c Corrected a callback function call in the router code which was 2026-01-20 15:56:50 -05:00
rtrVia.c Fix five latent bugs surfaced while porting to WASM 2026-05-11 14:20:47 -04:00
tclroute.c TCL9: Tcl_InitStubs(version="9.0") 2025-01-04 11:08:01 -05:00