/[hurd]/hurd/libstore/gunzip.c
ViewVC logotype

Diff of /hurd/libstore/gunzip.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by marcus, Mon Oct 1 16:47:49 2001 UTC revision 1.5.2.1 by roland, Sat Feb 9 04:04:50 2002 UTC
# Line 1  Line 1 
1  /* Decompressing store backend  /* Decompressing store backend
2    
3     Copyright (C) 1997, 1999 Free Software Foundation, Inc.     Copyright (C) 1997, 1999, 2002 Free Software Foundation, Inc.
4     Written by Miles Bader <miles@gnu.ai.mit.edu>     Written by Miles Bader <miles@gnu.ai.mit.edu>
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
6    
# Line 142  gunzip (struct store *from, void **buf, Line 142  gunzip (struct store *from, void **buf,
142            if (zerr)            if (zerr)
143              /* Can't do that, try to make a bigger buffer elsewhere.  */              /* Can't do that, try to make a bigger buffer elsewhere.  */
144              {              {
145                new_buf = mmap (0, new_buf_len, PROT_READ|PROT_WRITE,                new_buf = mmap (0, new_buf_len, PROT_READ|PROT_WRITE,
146                                MAP_ANON, 0, 0);                                MAP_ANON, 0, 0);
147                zerr = (new_buf == (void *) -1) ? errno : 0;                zerr = (new_buf == (void *) -1) ? errno : 0;
148                if (zerr)                if (zerr)
# Line 273  store_gunzip_open (const char *name, int Line 273  store_gunzip_open (const char *name, int
273    
274  const struct store_class  const struct store_class
275  store_gunzip_class = { -1, "gunzip", open: store_gunzip_open };  store_gunzip_class = { -1, "gunzip", open: store_gunzip_open };
276    STORE_STD_CLASS (gunzip);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26