cjs
4b97411a80
Change sd.transparent to sd.compressed, so that we default to non-
...
compressed mode when we zero out the structure. Check_header() now
does not force us to uncompressed mode if we read no data (EOF);
it leaves the default, so that if we check at the end of a file,
we don't set the file to uncompressed mode and blow up later lseeks
on it.
1997-10-18 22:27:15 +00:00
drochner
d9fbb6e1eb
Catch errors from underlying reads, ie where oread() returns -1.
...
(Original code used fread() which never returns -1, so this case was
not handled.)
1997-07-04 18:45:11 +00:00
drochner
ed2ca9f1fa
Avoid user space headers for standalone programs.
...
Don't use sys/lib/libkern or sys/lib/libz if not standalone
(ie, user space test programs).
1997-06-26 19:11:30 +00:00
drochner
8347a7476f
Bring prototypes into scope.
1997-06-13 14:28:52 +00:00
thorpej
9a6b12944d
In close(), if the file descriptor was used for writing, don't free
...
data structures that weren't allocated. Fix sanity-checked
by Matthias Drochner.
1997-02-04 18:38:20 +00:00
cgd
862c1d585c
code to open/close/read/lseek gzipped files, from Matthias Drochner.
1997-01-22 00:40:07 +00:00