MAC_HANDLE's in iocshBody weren't being created with environment variables.

This commit is contained in:
Keenan Lang
2014-08-27 13:31:16 -05:00
parent b2c2d9b7d6
commit 9d0be21cc1
+1 -1
View File
@@ -509,7 +509,7 @@ iocshBody (const char *pathname, const char *commandLine, const char *macros)
struct iocshCommand *found;
void *readlineContext = NULL;
int wasOkToBlock;
static char *pairs[] = {NULL, NULL};
static char *pairs[] = {"", "environ", NULL, NULL};
MAC_HANDLE *handle;
char ** defines = NULL;