Permalink
Browse files

allow null terminators in format string

  • Loading branch information...
1 parent 5f1c74c commit fb8bdc687264eccbff3801145871a4a34099f0e6 @falconindy committed Jul 30, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 expac.c
View
@@ -305,6 +305,9 @@ static int print_escaped(const char *delim) {
case 'v':
putchar('\v');
break;
+ case '0':
+ putchar('\0');
+ break;
++out;
}
} else {

0 comments on commit fb8bdc6

Please sign in to comment.