aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-02-09 15:24:38 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-02-09 15:32:41 +0100
commit48b3355c7a887530a9bd17a1ad571e402102dd95 (patch)
treed4f47abc466f9662b677e130dc6ae847dce5ee9a /include/util
parentf47425873fad94d3e7add4c7d5c48c2f7c67dbe5 (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/util')
-rw-r--r--include/util/util.h6
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