# HG changeset patch # User David A. Holland # Date 1364707666 14400 # Node ID 90c6052410ce4cc2e0acef2c6516ed29a2486979 # Parent cf4c97cebbd996f408fab08e3c72b9bcb40dfb77 Don't truncate the candidate include path strings. It causes malloc debug assertions. diff -r cf4c97cebbd9 -r 90c6052410ce directive.c --- a/directive.c Sun Mar 31 01:20:17 2013 -0400 +++ b/directive.c Sun Mar 31 01:27:46 2013 -0400 @@ -279,11 +279,13 @@ if (len > 2 && line[0] == '"' && line[len-1] == '"') { line[len-1] = '\0'; file_readquote(p, line+1); + line[len-1] = '"'; return true; } if (len > 2 && line[0] == '<' && line[len-1] == '>') { line[len-1] = '\0'; file_readbracket(p, line+1); + line[len-1] = '>'; return true; } return false;