Check regular file for sparse support after opening
A regular file may be created by the open call. Checking after opening allows sparseFileSupport even if dstFileName does not already exist.
This commit is contained in:
1 parent
c5926fbab8
commit
3bd5aa3404
3 files changed
+22
-12
No files matched your search
@@ -184,6 +184,7 @@ int UTIL_fchmod(const int fd, char const* filename, const stat_t* statbuf, mode_
|
||||
* compute the needed information.
|
||||
*/
|
||||
|
||||
int UTIL_isFdRegularFile(int fd);
|
||||
int UTIL_isRegularFile(const char* infilename);
|
||||
int UTIL_isDirectory(const char* infilename);
|
||||
int UTIL_isSameFile(const char* file1, const char* file2);
|
||||
|
||||
Reference in new issue
Block a user