Shamus Hammons [Thu, 22 Jan 2015 17:48:48 +0000 (11:48 -0600)]
Fix for bug that scribbled randomly on symbols.
Whenever there was a symbol collision, the DealWithSymbol() function
would, under the right circumstances, write $0800 into a symbol for no
good reason. This has been fixed. Also fixed the realloc() nonsense
that was written incorrectly as well.
Shamus Hammons [Sat, 20 Dec 2014 17:06:52 +0000 (11:06 -0600)]
This Time For Sure :-P
The data structures in RLN are pretty piss poor in places, and likely
that way because of whoever had this code before just bodged in a bunch
of code to make it work they way they wanted it to. Trying to reverse
course on that score. :-)
Fixed the broken linking action for symbols who shared the same 8 initial characters in their names. Culprit was symcmp (wacky define in rln.h) which was just WRONG. Removed the define, and replaced with good ole strcmp in lookup().
SCPCD [Tue, 27 Dec 2011 14:39:05 +0000 (14:39 +0000)]
In "doobject" :
- strcpy(obj_fname[obj_index], fname);
+ strcpy(obj_fname[obj_index], path_tail(fname)); // SCPCD : get the name of the file instead of all pathname