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

Diff of /hurd/libstore/bunzip2.c

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

revision 1.6 by marcus, Mon Oct 1 16:47:49 2001 UTC revision 1.6.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) 1998, 1999 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
4     Written by okuji@kuicr.kyoto-u.ac.jp <okuji@kuicr.kyoto-u.ac.jp>     Written by okuji@kuicr.kyoto-u.ac.jp <okuji@kuicr.kyoto-u.ac.jp>
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
6    
# Line 135  bunzip2 (struct store *from, void **buf, Line 135  bunzip2 (struct store *from, void **buf,
135            if (zerr)            if (zerr)
136              /* Can't do that, try to make a bigger buffer elsewhere.  */              /* Can't do that, try to make a bigger buffer elsewhere.  */
137              {              {
138                new_buf = mmap (0, new_buf_len, PROT_READ|PROT_WRITE,                new_buf = mmap (0, new_buf_len, PROT_READ|PROT_WRITE,
139                                MAP_ANON, 0, 0);                                MAP_ANON, 0, 0);
140                zerr = (new_buf == (void *) -1) ? errno : 0;                zerr = (new_buf == (void *) -1) ? errno : 0;
141                if (zerr)                if (zerr)
# Line 257  store_bunzip2_open (const char *name, in Line 257  store_bunzip2_open (const char *name, in
257    
258  const struct store_class  const struct store_class
259  store_bunzip2_class = { -1, "bunzip2", open: store_bunzip2_open };  store_bunzip2_class = { -1, "bunzip2", open: store_bunzip2_open };
260    STORE_STD_CLASS (bunzip2);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

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