From: Alex Smith Date: Wed, 1 Sep 2010 20:05:00 +0000 (+0100) Subject: Don't crash on an invalid guessdir X-Git-Tag: 0.29~75 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=14696117cb2b12a498eb19f77c7a60ade72d062e;p=intercal.git Don't crash on an invalid guessdir --- diff --git a/src/uncommon.c b/src/uncommon.c index 946924e..692191a 100644 --- a/src/uncommon.c +++ b/src/uncommon.c @@ -54,7 +54,7 @@ int ick_printfopens=0; /*@observer@*/ static const char *fileiter; size_t i = 0, j; FILE* ret; - while(*guessdir != '\0' && i