aboutsummaryrefslogtreecommitdiff
path: root/libstore/rdwr.c
Commit message (Collapse)AuthorAgeFilesLines
* 1999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-031-5/+7
| | | | | * rdwr.c (store_read, store_write): Fix calculations broken in last change, so they again properly account for starting intrarun offset.
* 1999-09-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-09-131-26/+28
| | | | | | * rdwr.c (store_write, store_read): Carefully avoid scaling run lengths from blocks to bytes except when we're already sure the run's size in bytes won't overflow size_t.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-4/+3
| | | | | | | | | | * 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.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+1
| | | | | | | | * rdwr.c: Add #include <sys/mman.h> for munmap decl. * enc.c: Likewise. * copy.c: Likewise. * gunzip.c: Likewise. * bunzip2.c: Likewise.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-9/+4
| | | | | | | | | | * bunzip2.c (bunzip2): Use munmap instead of vm_deallocate. (store_bunzip2_create): Likewise. * rdwr.c (store_read): Likewise. * gunzip.c (gunzip): Likewise. (store_gunzip_create): Likewise. * enc.c (store_enc_dealloc): Likewise. * copy.c (copy_cleanup): Likewise.
* Add braces to silence gcc warnings.Roland McGrath1998-10-201-14/+16
|
* (store_read):Miles Bader1997-06-201-14/+22
| | | | | Limit reads to the amount available. Deallocate memory returned when reading part of a multiple-segment read.
* (store_write, store_read): Use void * for buffers, not char *.Miles Bader1996-09-141-4/+4
|
* (store_write): Return an error if STORE is readonly.Miles Bader1996-05-221-2/+5
| | | | (store_read, store_read): References to METHS field changed to CLASS.
* (store_find_first_run, store_next_run, store_write, store_read):Miles Bader1996-05-101-33/+35
| | | | | | Use store_run, not off_t, vectors; tweak accordingly. Rename variables called `RUNS' to `RUN', because although they're always vectors, they're used more often for their first element.
* Rename *S_LEN to NUM_*S.Miles Bader1996-05-101-1/+1
|
* entered into RCSMiles Bader1996-04-021-1/+1
|
* Formerly rdwr.c.~9~Miles Bader1996-03-191-4/+4
|
* Formerly rdwr.c.~8~Miles Bader1996-03-161-70/+91
|
* Formerly rdwr.c.~7~Miles Bader1996-01-171-1/+1
|
* Formerly rdwr.c.~6~Miles Bader1996-01-161-14/+32
|
* Formerly rdwr.c.~5~Miles Bader1995-11-131-11/+12
|
* Formerly rdwr.c.~4~Miles Bader1995-10-211-122/+163
|
* Formerly rdwr.c.~3~Miles Bader1995-10-151-15/+111
|
* Formerly rdwr.c.~2~Miles Bader1995-10-141-1/+55
|
* Initial revisionMiles Bader1995-10-141-0/+34