Treat \r as a separator -- should allow DOS-format scripts to work.

This commit is contained in:
W. Eric Norum
2004-10-02 15:34:47 +00:00
parent 361d617ede
commit 42953c05f7

View File

@@ -443,7 +443,7 @@ iocshBody (const char *pathname, const char *commandLine)
struct iocshRedirect *redirect = NULL;
int sep;
const char *prompt = NULL;
const char *ifs = " \t(),";
const char *ifs = " \t(),\r";
iocshArgBuf *argBuf = NULL;
int argBufCapacity = 0;
struct iocshCommand *found;