зеркало из https://github.com/mozilla/pjs.git
Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger
This commit is contained in:
Родитель
d69ad8b1e5
Коммит
137e340a26
|
@ -268,7 +268,10 @@ public:
|
|||
#define CRLF "\015\012" /* A CR LF equivalent string */
|
||||
|
||||
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
#if defined(XP_MACOSX)
|
||||
#define FILE_PATH_SEPARATOR "/"
|
||||
#define FILE_ILLEGAL_CHARACTERS ":"
|
||||
#elif defined(XP_WIN) || defined(XP_OS2)
|
||||
#define FILE_PATH_SEPARATOR "\\"
|
||||
#define FILE_ILLEGAL_CHARACTERS "/:*?\"<>|"
|
||||
#elif defined(XP_UNIX) || defined(XP_BEOS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче