6 Commits

Author SHA1 Message Date
Olaf Seibert
e86f0bd4d5 Also add more checks to RT11 MLB reader. 2022-06-15 15:34:04 +02:00
Olaf Seibert
779c775107 Make RSX MLB parser more resistant to bad files. 2022-06-13 22:54:47 +02:00
Olaf Seibert
55243369eb Silence a spurious "maybe uninitialized" error.
mlb-rt11.c: In function 'mlb_rt11_entry':
mlb-rt11.c:284:27: warning: 'ent' may be used uninitialized in this function [-Wmaybe-uninitialized]
     buffer_resize(buf, ent->length + 1);        /* Make it large enough */
                        ~~~^~~~~~~~

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 buffer_resize() is never reached.
2021-01-31 16:20:08 +01:00
Olaf Seibert
5f5414fb37 Update some dates. 2017-05-06 19:11:19 +02:00
Olaf Seibert
a279a86076 Remove unneeded include (which cases compile errors wrt. git-info.h) 2017-05-06 19:10:21 +02:00
Olaf Seibert
e4ec481d3d Add RT11 macro libraries.
Hopefully they won't open as RSX ones, because then they still won't work.
Can't test this now.
2017-04-27 20:34:07 +02:00