diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-02-09 15:24:38 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-02-09 15:32:41 +0100 |
commit | 48b3355c7a887530a9bd17a1ad571e402102dd95 (patch) | |
tree | d4f47abc466f9662b677e130dc6ae847dce5ee9a /include | |
parent | f47425873fad94d3e7add4c7d5c48c2f7c67dbe5 (diff) |
Remove check for OS specific stuff from is_filename_sane
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/util/util.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/util/util.h b/include/util/util.h index cd32887..db6a712 100644 --- a/include/util/util.h +++ b/include/util/util.h @@ -55,12 +55,8 @@ SQFS_INTERNAL int canonicalize_name(char *filename); /* Returns true if a given filename is sane, false if it is not (e.g. contains slashes or it is equal to '.' or '..'). - - If check_os_specific is true, this also checks if the filename contains - a character, or is equal to a name, that is black listed on the current OS. - E.g. on Windows, a file named "COM0" or "AUX" is a no-no. */ -SQFS_INTERNAL bool is_filename_sane(const char *name, bool check_os_specific); +SQFS_INTERNAL bool is_filename_sane(const char *name); /* If the environment variable SOURCE_DATE_EPOCH is set to a parsable number |