10 Commits

Author SHA1 Message Date
Olaf Seibert
779c775107 Make RSX MLB parser more resistant to bad files. 2022-06-13 22:54:47 +02:00
Olaf Seibert
ada2d17a1b Silence a spurious "maybe uninitialized" error.
mlb-rsx.c: In function 'mlb_rsx_entry':
mlb-rsx.c:374:23: warning: 'ent' may be used uninitialized in this function [-Wmaybe-uninitialized]
     fseek(mlb->fp, ent->position, SEEK_SET);
                    ~~~^~~~~~~~~~

It is spurious because ent gets initialized in the loop above.
If the loop is never executed, this must be because 0 >= mlb->nentries
and NULL is returned, so the fseek() is never reached.
2021-01-31 16:16:05 +01:00
Olaf Seibert
8ab3c27e0c Plug a memory leak. 2020-03-11 22:53:51 +01:00
Olaf Seibert
5f5414fb37 Update some dates. 2017-05-06 19:11:19 +02:00
Olaf Seibert
96cfd4a152 First step in the support of multiple formats of macro (or object) libraries.
No test included since I don't have a distributable RSX .MLB file
available at this time.
2017-04-27 20:33:57 +02:00
Olaf Seibert
ecd4e81a7c Fix Makefile and some unneeded #includes.
make clean would first compile everything before cleaning.
And building anything would make git-info.h too late.
2015-11-09 22:15:00 +01:00
Olaf Seibert
3657acf345 Clean up some now-inaccurate comments. 2015-07-06 22:27:46 +02:00
Olaf Seibert
bbaf56206e Allow extraction of Object LiBraries too.
Eliminate terminating 0 byte in macro buffers.
2015-05-24 17:37:08 +02:00
Olaf Seibert
74c2399c7d Remove some remaining logging. 2015-05-12 22:42:05 +02:00
Olaf Seibert
3fbb3cc6ad Add support for RSX-11M+ 4.6 MacroLiBrary files.
This version still contains lots of commented-out logging statements.
2015-05-12 21:45:23 +02:00