Deleted Added
full compact
gzipfs.c (50476) gzipfs.c (59766)
1/*
2 * Copyright (c) 1998 Michael Smith.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*
2 * Copyright (c) 1998 Michael Smith.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/lib/libstand/gzipfs.c 50476 1999-08-28 00:22:10Z peter $
26 * $FreeBSD: head/lib/libstand/gzipfs.c 59766 2000-04-29 20:47:10Z jlemon $
27 *
28 */
29
30#include "stand.h"
31
32#include <sys/stat.h>
33#include <string.h>
34#include <zlib.h>

--- 16 unchanged lines hidden (view full) ---

51
52struct fs_ops zipfs_fsops = {
53 "zip",
54 zf_open,
55 zf_close,
56 zf_read,
57 null_write,
58 zf_seek,
27 *
28 */
29
30#include "stand.h"
31
32#include <sys/stat.h>
33#include <string.h>
34#include <zlib.h>

--- 16 unchanged lines hidden (view full) ---

51
52struct fs_ops zipfs_fsops = {
53 "zip",
54 zf_open,
55 zf_close,
56 zf_read,
57 null_write,
58 zf_seek,
59 zf_stat
59 zf_stat,
60 null_readdir
60};
61
62#if 0
63void *
64calloc(int items, size_t size)
65{
66 return(malloc(items * size));
67}

--- 251 unchanged lines hidden ---
61};
62
63#if 0
64void *
65calloc(int items, size_t size)
66{
67 return(malloc(items * size));
68}

--- 251 unchanged lines hidden ---