diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-30 10:27:25 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-30 10:27:41 -0400 |
commit | fb8bdc687264eccbff3801145871a4a34099f0e6 (patch) | |
tree | b5251bd79f92fcb1326369d29bea494d1391a751 | |
parent | 5f1c74cbb008314063e42acd91753afec9b3d24e (diff) | |
download | expac-fb8bdc687264eccbff3801145871a4a34099f0e6.tar.xz |
allow null terminators in format string
-rw-r--r-- | expac.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -305,6 +305,9 @@ static int print_escaped(const char *delim) { case 'v': putchar('\v'); break; + case '0': + putchar('\0'); + break; ++out; } } else { |