I should have looked at the linker options more closely and turned on "Warn duplicate symbols" from the start...

#TurboC #Hack361 #MSDOS

Huh. For some reason Turbo C's time() is getting stuck in an infinite loop. Don't call it to seed the random number generator or determine the phase of moon and off we go...

Hmm. Can't get the time() hang to repro in a trivial test program. I wonder what's going on here.

Aha. time() called getdate() which conflicted with a function in Hack (that called getlt() that called time()). Not sure why that resulted in a hang instead of a crash due to stack overflow...

#MSDOS #TurboC #Hack361