mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-25 19:56:30 +00:00
Add RT11 macro libraries.
Hopefully they won't open as RSX ones, because then they still won't work. Can't test this now.
This commit is contained in:
4
mlb2.c
4
mlb2.c
@@ -1,9 +1,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "util.h"
|
||||
#include "mlb.h"
|
||||
|
||||
MLB_VTBL *mlb_vtbls[] = {
|
||||
&mlb_rsx_vtbl,
|
||||
&mlb_rt11_vtbl,
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -18,7 +20,7 @@ MLB *mlb_open(
|
||||
for (i = 0; (vtbl = mlb_vtbls[i]); i++) {
|
||||
mlb = vtbl->mlb_open(name, allow_object_library);
|
||||
if (mlb != NULL) {
|
||||
mlb->name = strdup(name);
|
||||
mlb->name = memcheck(strdup(name));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user