mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
agree with nick: this legal-chars-in-filename stuff gets us nothing
svn:r2310
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user