summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2022-01-18 12:52:27 +0200
committerGitHub <noreply@github.com>2022-01-18 12:52:27 +0200
commit25e6d4d4597d6ca06503d5fa76af0e4e1b57302e (patch)
tree66e78300bc0ec4983c0223e17a3065aa6793146c /src/util.h
parent51f9bed3dd8d35a59e9124e49450c9795822dbf5 (diff)
downloadredis-25e6d4d4597d6ca06503d5fa76af0e4e1b57302e.tar.gz
Fix additional AOF filename issues. (#10110)
This extends the previous fix (#10049) to address any form of non-printable or whitespace character (including newlines, quotes, non-printables, etc.) Also, removes the limitation on appenddirname, to align with the way filenames are handled elsewhere in Redis.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 6c1feb08b..7dce8ff69 100644
--- a/src/util.h
+++ b/src/util.h
@@ -71,7 +71,6 @@ int dirExists(char *dname);
int dirRemove(char *dname);
int fileExist(char *filename);
sds makePath(char *path, char *filename);
-int includeSpace(char *s);
#ifdef REDIS_TEST
int utilTest(int argc, char **argv, int flags);