diff options
-rw-r--r-- | jim-exec.c | 1 | ||||
-rw-r--r-- | jim-interactive.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -1098,7 +1098,6 @@ badargs: } if (outputId != -1) { close(outputId); - outputId = -1; } inputId = pipeIds[0]; pipeIds[0] = pipeIds[1] = -1; diff --git a/jim-interactive.c b/jim-interactive.c index 1d6eb00..baad909 100644 --- a/jim-interactive.c +++ b/jim-interactive.c @@ -89,7 +89,7 @@ void Jim_HistorySave(const char *filename) #endif linenoiseHistorySave(filename); #ifdef HAVE_UMASK - mask = umask(mask); + umask(mask); #endif #endif } |