magic/cif
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
..
CIFgen.c Found that I needed to apply the same correction as the last 2026-04-10 13:39:17 -04:00
CIFhier.c Fix five latent bugs surfaced while porting to WASM 2026-05-11 14:20:47 -04:00
CIFint.h Decided to change the name of the new cifinput/cifoutput operator 2026-03-11 15:52:42 -04:00
CIFmain.c cif: use 'const' with 'rcsid' 2025-01-04 11:31:17 -05:00
CIFrdcl.c Corrected what appears to be a long-standing error in the GDS read 2026-03-22 13:11:27 -04:00
CIFrdpoly.c cif: use 'const' with readonly data (also consumer DBpaint) 2025-01-04 11:31:17 -05:00
CIFrdpt.c Corrected another place where the property handling had not been 2026-02-19 11:40:46 -05:00
CIFrdtech.c Decided to change the name of the new cifinput/cifoutput operator 2026-03-11 15:52:42 -04:00
CIFrdutils.c freeMagic1() idiom insertion at all sites reported by static code analysis 2025-12-19 09:31:58 -05:00
CIFread.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
CIFsee.c Reworked the method from the previous set of commits, which creates 2026-03-10 14:25:02 -04:00
CIFtech.c Decided to change the name of the new cifinput/cifoutput operator 2026-03-11 15:52:42 -04:00
CIFwrite.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
Makefile Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
cif.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00