summaryrefslogtreecommitdiff
path: root/libstore/rdwr.c
AgeCommit message (Collapse)Author
1999-10-071999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rdwr.c (store_read, store_write): Fix asserts in last change.
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rdwr.c (store_read, store_write): Fix calculations broken in last change, so they again properly account for starting intrarun offset.
1999-09-131999-09-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rdwr.c: Add #include <sys/mman.h> for munmap decl. * enc.c: Likewise. * copy.c: Likewise. * gunzip.c: Likewise. * bunzip2.c: Likewise.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1997-06-20(store_read):Miles Bader
Limit reads to the amount available. Deallocate memory returned when reading part of a multiple-segment read.
1996-09-14(store_write, store_read): Use void * for buffers, not char *.Miles Bader
1996-05-22(store_write): Return an error if STORE is readonly.Miles Bader
(store_read, store_read): References to METHS field changed to CLASS.
1996-05-10(store_find_first_run, store_next_run, store_write, store_read):Miles Bader
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.
1996-05-10Rename *S_LEN to NUM_*S.Miles Bader
1996-04-02entered into RCSMiles Bader
1996-03-19Formerly rdwr.c.~9~Miles Bader
1996-03-16Formerly rdwr.c.~8~Miles Bader
1996-01-17Formerly rdwr.c.~7~Miles Bader
1996-01-16Formerly rdwr.c.~6~Miles Bader
1995-11-13Formerly rdwr.c.~5~Miles Bader
1995-10-21Formerly rdwr.c.~4~Miles Bader
1995-10-15Formerly rdwr.c.~3~Miles Bader
1995-10-14Formerly rdwr.c.~2~Miles Bader
1995-10-14Initial revisionMiles Bader