diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-04-23 17:24:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-04-23 17:24:22 +0000 |
commit | eea55e45be37a38a576a8a1c1fd436d4696bb3c8 (patch) | |
tree | fc8787065bb03d9a31b1a4a29bbd473b1eaab4a3 /Src | |
parent | d296535d38deacd0da9ef70aa54fbe43caa1f6c8 (diff) | |
download | zsh-eea55e45be37a38a576a8a1c1fd436d4696bb3c8.tar.gz zsh-eea55e45be37a38a576a8a1c1fd436d4696bb3c8.tar.xz zsh-eea55e45be37a38a576a8a1c1fd436d4696bb3c8.zip |
unposted: fix error message for short ZWC file
Diffstat (limited to 'Src')
-rw-r--r-- | Src/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c index e830f870f..892573e18 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2607,7 +2607,7 @@ bin_zcompile(char *nam, char **args, Options ops, UNUSED(int func)) static Wordcode load_dump_header(char *nam, char *name, int err) { - int fd, v = 0; + int fd, v = 1; wordcode buf[FD_PRELEN + 1]; if ((fd = open(name, O_RDONLY)) < 0) { |