aboutsummaryrefslogtreecommitdiff
path: root/libstore/encode.c
Commit message (Collapse)AuthorAgeFilesLines
* 2001-01-14 Roland McGrath <roland@frob.com>Roland McGrath2001-01-141-2/+2
| | | | | | * encode.c (too_big): New static function. (store_std_leaf_encode): Use it to return EOVERFLOW if a run does not fit in an off_t.
* 2001-01-14 Roland McGrath <roland@frob.com>Roland McGrath2001-01-141-6/+16
| | | | | | * encode.c (too_big): New static function. (store_std_leaf_encode): Use it to return EOVERFLOW if a run does not fit in an int.
* 1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-1/+2
| | | | | | | | | | | | | * argp.c (store_parsed_open): Add more braces to clarify if-else structure. * encode.c: Include <sys/mman.h> * zero.c: Likewise. * encode.c (store_encode): Repair syntax. * copy.c (copy_read): Likewise. * enc.c (store_enc_dealloc): Cast first arg of munmap correctly.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-16/+31
| | | | | | | | | | * bunzip2.c (bunzip2): Use mmap instead of vm_allocate. * copy.c (copy_read): Likewise. (copy_clone): Likewise. * encode.c (store_encode): Likewise. * gunzip.c (gunzip): Likewise. * rdwr.c (store_read): Likewise. * zero.c (zero_read): Likewise.
* (store_encode):Miles Bader1997-09-221-3/+6
| | | | Allocate the correct amount of memory for the encoding vectors.
* Update FSF address.Miles Bader1997-06-201-4/+2
|
* (store_encode):Miles Bader1996-09-231-1/+1
| | | | Make CLASS var const.
* (store_std_leaf_allocate_encoding): NUM_OFFSETS is NUM_RUNS * 2.Miles Bader1996-09-141-1/+24
| | | | (store_return): New function.
* (store_std_leaf_allocate_encoding): Renamed fromMiles Bader1996-05-221-9/+9
| | | | | | | store_default_leaf_allocate_encoding. Make STORE const. (store_std_leaf_encode): Renamed from store_default_leaf_encode. Make STORE const. Get class id from store->class->id. (store_encode): Use CLASS field instead of METHS field.
* (store_default_leaf_encode): Convert from the store_run vector to a off_tMiles Bader1996-05-101-1/+4
| | | | vector for encoding.
* Rename *S_LEN to NUM_*S.Miles Bader1996-05-101-17/+17
|
* entered into RCSMiles Bader1996-04-021-1/+2
|
* Formerly encode.c.~3~Miles Bader1996-04-011-1/+1
|
* Formerly encode.c.~2~Miles Bader1996-03-221-10/+21
|
* Initial revisionMiles Bader1996-03-221-0/+112