Hi all
It's seems the processing of command line arguments was causing a
Segmentation fault on my Debian 2.2 Linux box. The following patch
fixed the problem.
Robert Fitzsimons
[EMAIL PROTECTED]
Index: user/plex86.c
===================================================================
RCS file: /cvsroot-plex86/plex86/user/plex86.c,v
retrieving revision 1.11
diff -u -r1.11 plex86.c
--- user/plex86.c 2000/11/24 02:24:52 1.11
+++ user/plex86.c 2000/11/24 21:00:41
@@ -115,7 +115,7 @@
exit(-1);
}
strncpy(conf_fname, argv[i+1], sizeof(conf_fname));
- argv[sizeof(conf_fname)-1] = 0; /* Terminate overrun */
+ conf_fname[sizeof(conf_fname)-1] = 0; /* Terminate overrun */
fprintf(stderr, "Processing config file %s...\n",
conf_fname);