mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-04 19:31:34 +00:00
umount only if umount exists
This commit is contained in:
parent
687cf36497
commit
4f1548f32c
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* @(#) $Id: gzio.c,v 1.1 2005/11/22 23:14:01 lvivier Exp $ */
|
/* @(#) $Id: gzio.c,v 1.2 2005/11/26 08:51:55 lvivier Exp $ */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@ -483,7 +483,7 @@ int ZEXPORT gzclose (file)
|
|||||||
|
|
||||||
ret = destroy((gz_stream*)file);
|
ret = destroy((gz_stream*)file);
|
||||||
fs.close(fs.file);
|
fs.close(fs.file);
|
||||||
fs.umount(fs.file);
|
if (fs.umount) fs.umount(fs.file);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user