diff options
author | Christopher Haster <chaster@utexas.edu> | 2017-04-23 07:11:13 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2017-04-23 10:06:48 +0300 |
commit | ba8afb9d924ff40054c73f8430aa16b6eb7b1bac (patch) | |
tree | 2b65dd24398bee219554f3aa13965e28fa145a12 /Makefile | |
parent | a1d8a76b36890506bf1a49056e25443f06ccd13c (diff) |
Added support for full seek operations
A rather involved upgrade for both files and directories, seek and
related functions are now completely supported:
- lfs_file_seek
- lfs_file_tell
- lfs_file_rewind
- lfs_file_size
- lfs_dir_seek
- lfs_dir_tell
- lfs_dir_rewind
This change also highlighted the concern that lfs_off_t is unsigned,
whereas off_t is traditionally signed. Unfortunately, lfs_off_t is
already used intensively through the codebase, so in focusing on
moving forward and avoiding getting bogged down by details, I'm going to
keep it as is and use the signed type lfs_soff_t where necessary.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ size: $(OBJ) $(SIZE) -t $^ .SUFFIXES: -test: test_format test_dirs test_files test_alloc test_paths test_orphan +test: test_format test_dirs test_files test_seek test_alloc test_paths test_orphan test_%: tests/test_%.sh ./$< |