diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-11-06 15:47:56 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-11-06 15:47:56 +0000 |
commit | dca3bfa1e0e9c921b16494c1010a2df187fc4596 (patch) | |
tree | 6b14b57f5292750eb280c7c1071c8fd6ea5b1804 /navit/file.h | |
parent | c77d9eb3247647dc9001dbec024f2ba6bd8f5787 (diff) | |
download | navit-svn-dca3bfa1e0e9c921b16494c1010a2df187fc4596.tar.gz |
Fix:Core:Add file_sync function, truncate files if create flag is set, avoid crashing file_get_content on seek errors
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5260 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.h')
-rw-r--r-- | navit/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/file.h b/navit/file.h index b6ee01e7..124db12a 100644 --- a/navit/file.h +++ b/navit/file.h @@ -85,6 +85,7 @@ void *file_opendir(char *dir); char *file_readdir(void *hnd); void file_closedir(void *hnd); struct file *file_create_caseinsensitive(char *name, struct attr **options); +void file_fsync(struct file *f); void file_destroy(struct file *f); struct file_wordexp *file_wordexp_new(const char *pattern); int file_wordexp_get_count(struct file_wordexp *wexp); |