smallbugs
This commit is contained in:
2
C/save.c
2
C/save.c
@@ -1427,7 +1427,7 @@ OpenRestore(const char *inpf, const char *YapLibDir, CELL *Astate, CELL *ATrail,
|
||||
char fname[YAP_FILENAME_MAX +1];
|
||||
|
||||
if (!Yap_findFile( inpf, YAP_STARTUP, YapLibDir, fname, true, YAP_SAVED_STATE, true, true))
|
||||
return false;
|
||||
return FAIL_RESTORE;
|
||||
if (fname[0] &&
|
||||
(mode = try_open(fname,Astate,ATrail,AStack,AHeap,streamp)) != FAIL_RESTORE) {
|
||||
return mode;
|
||||
|
Reference in New Issue
Block a user