version 1.7, 2025/04/09 15:16:50
|
version 1.8, 2025/04/09 19:52:02
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* 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 |
* Revision 1.7 2025/04/09 15:16:50 snw |
* Fix buffer overruns in mref_to_external and ssvn.c |
* Fix buffer overruns in mref_to_external and ssvn.c |
* |
* |
Line 62 void (*gbl_s)(short, char *, char *);
|
Line 65 void (*gbl_s)(short, char *, char *);
|
|
|
void global_set_engine(char ns, char *engine) |
void global_set_engine(char ns, char *engine) |
{ |
{ |
|
|
|
if (strcmp (engine, "BUILTIN") != 0) { |
if ((strcmp (engine, "BUILTIN") != 0) && (strcmp (engine, "BERKELEYDB") != 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); |
printf ("\r\nERROR: '%s' is not a valid global storage engine\r\n", engine); |
merr_raise (M38); |
merr_raise (M38); |
|
|