diff --git a/pub/src/Makefile.am b/pub/src/Makefile.am index 380677cdc9fa2a4092d6acb6026755d81e19df38..bf5efe77dbf2033abb387794e2cc7e95a3000bd2 100644 --- a/pub/src/Makefile.am +++ b/pub/src/Makefile.am @@ -14,8 +14,8 @@ AM_CXXFLAGS = -g \ -Wsequence-point \ -Wstrict-aliasing -Wswitch \ -Wunknown-pragmas \ - -Wmissing-field-initializers \ - -Wuninitialized + -Wmissing-field-initializers + # -Wuninitialized # -Wsign-compare -Wconversion # the following do not work on u1.spheres.frm2: diff --git a/pub/src/file_in.cpp b/pub/src/file_in.cpp index b10ca43dddb80d5470a76a2758917a46444c8453..f20b8927b3e09561aee99c60ab624a2d6db202ca 100644 --- a/pub/src/file_in.cpp +++ b/pub/src/file_in.cpp @@ -45,9 +45,11 @@ void NFileIn::Load(void) mystd::fname_divide( vflong[i], &fdir, &fshort, &fext); if ( fext=="y08" ) { - ifstream F_inpp (vflong[i].c_str(), ios_base::in); - Load_08( F_inpp, vflong[i] ); - F_inpp.close(); + ifstream f (vflong[i].c_str(), ios_base::in); + if( f.fail() ) + throw "cannot open file " + vflong[i]; + Load_08( f, vflong[i] ); + f.close(); } else if ( fext=="a01" ) { Load_01( F_in, vflong[i] ); } else if ( fext=="i96" ) { diff --git a/pub/src/frida2.cpp b/pub/src/frida2.cpp index 9dd8884c42c2e5b8407edfe8e63fea5e06b22871..efc6dcdedf598306ff14e81adcfaca4628e8ef11 100644 --- a/pub/src/frida2.cpp +++ b/pub/src/frida2.cpp @@ -107,7 +107,7 @@ int main() " x execute shell command\n" " . evaluate expression(s)\n" " _ special / temporary commands\n" - " / meta commands and macros\n" + " \\? help on meta commands and macros\n" ; } else if (cmd == "c") {