--- freem/src/global_dispatch.c 2025/04/09 15:16:50 1.7 +++ freem/src/global_dispatch.c 2025/04/10 01:24:38 1.9 @@ -1,5 +1,5 @@ /* - * $Id: global_dispatch.c,v 1.7 2025/04/09 15:16:50 snw Exp $ + * $Id: global_dispatch.c,v 1.9 2025/04/10 01:24:38 snw Exp $ * global handler dispatch module * * @@ -24,6 +24,12 @@ * along with FreeM. If not, see . * * $Log: global_dispatch.c,v $ + * Revision 1.9 2025/04/10 01:24:38 snw + * Remove C++ style comments + * + * Revision 1.8 2025/04/09 19:52:02 snw + * Eliminate as many warnings as possible while building with -Wall + * * Revision 1.7 2025/04/09 15:16:50 snw * Fix buffer overruns in mref_to_external and ssvn.c * @@ -62,17 +68,9 @@ void (*gbl_s)(short, char *, char *); void global_set_engine(char ns, char *engine) { - - - if ((strcmp (engine, "BUILTIN") != 0) && (strcmp (engine, "BERKELEYDB") != 0)) { + + if (strcmp (engine, "BUILTIN") != 0) { - if (strcmp (engine, "NICKELBACK") == 0) { - char *j; - printf ("\r\nERROR: please go burn your CD collection in fire. Here, have a segfault...\r\n"); - - j[2] = '\201'; - } - printf ("\r\nERROR: '%s' is not a valid global storage engine\r\n", engine); merr_raise (M38); @@ -122,8 +120,6 @@ void global_set_engine(char ns, char *en } - //ssvn_job_update (); - merr_raise (OK); return;