Subj : unbaja.c To : Deuce From : Angus McLeod Date : Mon Sep 12 2005 09:12 am Re: unbaja.c By: Deuce to Angus McLeod on Sun Sep 11 2005 23:25:00 > > > labels=(char *)calloc(1,filelength(fileno(bin))); > > > > Wow! 8-| > > I decided that would be easier than a linked list or something... besides, i > can't be more than 64k (And actually, I think it may be limited to 32k!) Actually, after posting I realised that the overall size of the binary application couldn't be too big, and in *practice*, I've never seen a .BIN file that was larger than a handful of K anyway... And there I was mentally converting to a single-pass design, generating an in-memory linked list of source statements with fix-ups for GOTO/CALL targets and writing the list to disk after closing the input..... :) --- þ Synchronet þ Synchronet Track-and-field: Discus event at The ANJO BBS .