PR: misc/4679
Submitted by: Glen Foster (gfoster@gfoster.com) Fix missing "/" in dump file pathname.
This commit is contained in:
parent
cab9e31601
commit
c8e50f41fe
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id$";
|
"$Id: user.c,v 1.7 1997/12/04 07:25:18 charnier Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@ -90,6 +90,7 @@ user_command()
|
|||||||
}
|
}
|
||||||
} else if(!strcmp("dump\n", cmd)) {
|
} else if(!strcmp("dump\n", cmd)) {
|
||||||
strcpy(dumppath, X10DIR);
|
strcpy(dumppath, X10DIR);
|
||||||
|
strcat(dumppath, "/");
|
||||||
strcat(dumppath, X10DUMPNAME);
|
strcat(dumppath, X10DUMPNAME);
|
||||||
if((dumpf = fopen(dumppath, "w")) != NULL) {
|
if((dumpf = fopen(dumppath, "w")) != NULL) {
|
||||||
for(h = 0; h < 16; h++) {
|
for(h = 0; h < 16; h++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user