diff options
author | Mike Smith <msmith@FreeBSD.org> | 1998-09-26 01:42:40 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 1998-09-26 01:42:40 +0000 |
commit | 95b50c2be3e92fdea36bf33f52920bea1a87d3a5 (patch) | |
tree | 38b9b44d383cad45118cba2250f16d7dd0ba3d7f /lib/libstand/gzipfs.c | |
parent | 4f75af298ceadc1adfe0ddc15a82fa3d137391c8 (diff) |
Notes
Diffstat (limited to 'lib/libstand/gzipfs.c')
-rw-r--r-- | lib/libstand/gzipfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libstand/gzipfs.c b/lib/libstand/gzipfs.c index 3a9730ba0286c..fb64665cc3a22 100644 --- a/lib/libstand/gzipfs.c +++ b/lib/libstand/gzipfs.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: zipfs.c,v 1.1.1.1 1998/08/20 08:19:55 msmith Exp $ + * $Id: zipfs.c,v 1.2 1998/09/18 22:58:01 msmith Exp $ * */ @@ -59,11 +59,13 @@ struct fs_ops zipfs_fsops = { zf_stat }; +#if 0 void * calloc(int items, size_t size) { return(malloc(items * size)); } +#endif static int zf_fill(struct z_file *zf) @@ -175,7 +177,7 @@ zf_open(const char *fname, struct open_file *f) return(ENOENT); /* Construct new name */ - zfname = malloc(strlen(fname) + 3); + zfname = malloc(strlen(fname) + 4); sprintf(zfname, "%s.gz", fname); /* Try to open the compressed datafile */ |