diff options
author | Christopher Haster <chaster@utexas.edu> | 2019-07-29 05:26:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-29 05:26:03 +0300 |
commit | 31e28fddb7557124ae47a7a70ae8312ff9981372 (patch) | |
tree | 662ea71f9ff87569bb23c63f63af77ac380c9b71 /lfs.h | |
parent | 3806d8828504d303ba6a8e07656535d1e82808f9 (diff) | |
parent | 7e1bad3eeeb41edd19a8c0cd70a4d1f36742ffbf (diff) |
Merge pull request #237 from Ar2rL/reverse_finalize_close
Protect (LFS_ASSERT) file operations against using not opened or closed files.
Diffstat (limited to 'lfs.h')
-rw-r--r-- | lfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -136,6 +136,7 @@ enum lfs_open_flags { LFS_F_READING = 0x040000, // File has been read since last flush LFS_F_ERRED = 0x080000, // An error occured during write LFS_F_INLINE = 0x100000, // Currently inlined in directory entry + LFS_F_OPENED = 0x200000, // File has been opened }; // File seek flags |