diff --git a/src/kit/shell/src/shellEngine.c b/src/kit/shell/src/shellEngine.c index abc4f7a02cc82eb02a6e7f3d8765038e654d4000..692b5e49a02679f0c8989ea6e456c5602bb35f2f 100644 --- a/src/kit/shell/src/shellEngine.c +++ b/src/kit/shell/src/shellEngine.c @@ -751,7 +751,9 @@ void read_history() { FILE *f = fopen(f_history, "r"); if (f == NULL) { +#ifndef WINDOWS fprintf(stderr, "Failed to open file %s\n", f_history); +#endif return; } @@ -776,7 +778,9 @@ void write_history() { FILE *f = fopen(f_history, "w"); if (f == NULL) { +#ifndef WINDOWS fprintf(stderr, "Failed to open file %s for write\n", f_history); +#endif return; }