diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-24 21:57:12 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-24 21:57:12 +0000 |
commit | d91cacb8392dbea4dec69a48fbaf1fc9aa8a84dc (patch) | |
tree | adab84a1db161220077fbcc4ab1ea6fb1691db2a /src/common/util.h | |
parent | 015232bd394367b8422b69222847e622a45b3714 (diff) | |
download | tor-d91cacb8392dbea4dec69a48fbaf1fc9aa8a84dc.tar tor-d91cacb8392dbea4dec69a48fbaf1fc9aa8a84dc.tar.gz |
agree with nick: this legal-chars-in-filename stuff gets us nothing
svn:r2310
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/common/util.h b/src/common/util.h index f7e4cc7fa..184a78b66 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -74,17 +74,6 @@ struct timeval { #define tor_close_socket(s) close(s) #endif -#if 0 -/* XXXX Remove this -- These lists are incomplete, and detecting bad filenames - * is the OS's job. -NM */ -/** Legal characters in a filename */ -#ifdef MS_WINDOWS -#define CONFIG_LEGAL_FILENAME_CHARACTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_/\\ " -#else -#define CONFIG_LEGAL_FILENAME_CHARACTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_/ " -#endif -#endif - #define HEX_CHARACTERS "0123456789ABCDEFabcdef" size_t strlcat(char *dst, const char *src, size_t siz); |