diff options
author | unknown <acurtis@xiphis.org> | 2005-12-27 11:15:56 -0800 |
---|---|---|
committer | unknown <acurtis@xiphis.org> | 2005-12-27 11:15:56 -0800 |
commit | 581750330bf6c0777db9e7dfd71c0c5b99a27b28 (patch) | |
tree | 2622788c6103b298ac9b988d4b102c07007877e8 /storage | |
parent | fe62853ad01e719479b8b4047357fe87559822b7 (diff) | |
parent | 4019cbf602f73a474f597914537eb91650c8573f (diff) | |
download | mariadb-git-581750330bf6c0777db9e7dfd71c0c5b99a27b28.tar.gz |
Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into xiphis.org:/home/antony/work2/p4-bug15976
Diffstat (limited to 'storage')
-rw-r--r-- | storage/archive/azio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/archive/azio.c b/storage/archive/azio.c index 303a12bf293..46152f4e39e 100644 --- a/storage/archive/azio.c +++ b/storage/archive/azio.c @@ -267,7 +267,7 @@ int destroy (s) err = inflateEnd(&(s->stream)); } } - if (s->file < 0 && my_close(s->file, MYF(0))) + if (s->file > 0 && my_close(s->file, MYF(0))) { #ifdef ESPIPE if (errno != ESPIPE) /* fclose is broken for pipes in HP/UX */ |