agree with nick: this legal-chars-in-filename stuff gets us nothing

svn:r2310
This commit is contained in:
Roger Dingledine
2004-08-24 21:57:12 +00:00
parent 015232bd39
commit d91cacb839
4 changed files with 1 additions and 48 deletions
-11
View File
@@ -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);