From 02b0cef4d83a89e46cfa0605f60dc176941f09d7 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 7 Jun 2000 05:47:24 +0000 Subject: [PATCH] cyscape's "current" browscap.ini file doesn't terminate the last line in the file with a newline character this resulted in a parse error --- main/configuration-parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/main/configuration-parser.y b/main/configuration-parser.y index a201ce5eb4..852e4dc291 100644 --- a/main/configuration-parser.y +++ b/main/configuration-parser.y @@ -548,6 +548,7 @@ string_or_value: | CFG_TRUE { $$ = $1; } | CFG_FALSE { $$ = $1; } | '\n' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; } + | '\0' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; } ; expr: -- 2.50.1