Age | Commit message (Collapse) | Author |
|
Allocate the correct amount of memory for the encoding vectors.
|
|
|
|
Let BSIZE be zero.
|
|
If BLOCK_SIZE is zero, make sure there are no runs.
|
|
Pass 0 for OFFSET and SIZE arguments to device_map -- mach ignores them, and
we often can't supply meaningful values.
(store_device_create):
Treat devices that can't do device_get_status as zero-length.
|
|
|
|
Correctly unparse complex type names.
|
|
|
|
Declaration removed.
|
|
If we are mutating SOURCE, close any source port it has.
|
|
If we can't map STORE directly, and it has a source file, try to map that
instead.
|
|
|
|
New function.
(store_device_class):
Use dev_map.
(dev_read, dev_write):
Remove debugging grot.
|
|
New function.
(store_file_class):
Use file_map.
|
|
Use zero_map.
(zero_map):
New function.
|
|
Add map.c.
|
|
|
|
Add map field.
(store_map):
New declaration.
|
|
|
|
New functions.
(store_file_class):
Use new functions.
(store_file_open):
Use fiopen to open the file.
Set name of newly created store.
(store_file_byte_class):
Fill in rest of functions.
(file_read, file_write, file_byte_read, file_byte_write):
Remove debugging noise.
|
|
Move enforcement checking code to enforce.
(enforced):
Move some checking here from dev_set_flags, and correct the check for the
number of stores.
|
|
|
|
Support factored type notation.
|
|
|
|
If NAME doesn't contain a `:' separator, try to use it as either a class
name or a file name.
Interpret a trailing or leading `:' as unambiguously referring to a
class-name or a filename, respectively.
|
|
Use parse_type to parse the -T option.
(parse_type):
New function.
(struct store_parsed):
Add NAME_PREFIX field.
(store_parsed_free):
Free it.
(store_parsed_append_args):
Emit it.
(store_parsed_open):
Use it in opens.
|
|
|
|
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
If *MOD_FLAGS already contains STORE_HARD_READONLY, don't ever try to open
for reading.
(_store_device_create):
Use _store_create instead of _make_store.
Update FSF address.
|
|
Set the store name if possible.
(store_concat_open):
New function.
(store_ileave_create, store_concat_create):
Use _store_create instead of _make_store.
Update FSF address.
|
|
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
Pass the original value of CLASSES to any decode method, not our search
tail.
Update FSF address.
|
|
New functions.
Update FSF address.
|
|
Renamed from _make_store.
Return an error_t code, and add an additional argument STORE to return the
new store; all uses changed.
Update FSF address.
|
|
Assert that block_size & blocks_per_page are powers of two (which should be
enforced elsewhere).
Include <assert.h>
Update FSF address.
|
|
New variable.
(UTILS_OBJS):
Variable removed.
(VPATH, CPPFLAGS):
Search for stuff in ../exec for unzip junk.
(SRCS):
Remove storeread.c & storecat.c.
Add typed.c, copy.c, and gunzip.c.
(OBJS):
Don't use $(UTILS_OBJS).
Do use $(UNZIP_OBJS).
(storeread, storecat):
Rules removed.
Update FSF address.
|
|
Add store_copy_class, store_gunzip_class, and store_typed_open_class.
Update FSF address.
|
|
Renamed from _make_store.
Return an error_t code, and add an additional argument STORE to return the
new store; all uses changed.
(store_zero_create):
SIZE is off_t, not size_t.
(store_concat_open, store_children_name, store_open_children):
New declarations.
(store_copy_create, store_copy_open, store_buffer_create, store_gunzip_create,
store_gunzip_open):
New declarations.
(struct store):
BLOCKS & SIZE are off_t, not size_t.
(store_copy_class, store_gunzip_class, store_typed_open_class):
New declarations.
Update FSF address.
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
SIZE is off_t, not size_t.
Update FSF address.
|
|
|
|
Limit reads to the amount available.
Deallocate memory returned when reading part of a multiple-segment read.
|
|
|
|
|
|
|
|
|
|
Use MOD_FLAGS arg to dopen.
(dopen):
Add MOD_FLAGS param, and detect read-only devices.
|