Q: Do we have to worry about 8.3 file limits in mozilla?
A: No, but there are other file name issues you need to worry
All OSes that we run on support "long" file names (more than 8.3).
Including OS/2, Win9x, and Mac. (Mac has a 32 limit though, and
not all characters are legal in filenames on other platforms).
See NS_MsgHashIfNecessary() http://lxr.mozilla.org/mozilla/source/mailnews/base/util/nsMsgUtils.cpp#242
for some code that we use in mailnews to convert a filename to something
safe for the underlying OS>
I just did a search, and there is other code that seems indicate that
on windows 9.x, certain files have to be in 8.3
/* Where +++++++ is the 7 character time
representation (a full 8.3 */
/* csHost is now of the form <hostname>.rc and is in 8.3 format */
// Convert filename to FAT (8.3) equivalent.
C:\builds\mozilla\dbm\src\h_bigkey.c(38):static char sccsid =
"@(#)hash_bigkey.c 8.3 (Berkeley) 5/31/94";
* Windows, especially in the 8.3 versions of long file names, which
char Src[_MAX_PATH]; // 8.3 name
char Dest[_MAX_PATH]; // 8.3 name
/* Appearently under Win9x, the path still needs to be in 8.3 format
I asked ssu, and he said:
Don't worry about the ones under xpinstall. They are very special
cases. The ones listed in ScheduledTasks.cpp deals with replacing
files that are currently in use. Under all win32 OS's, the OS
will rename a longfile name to shortfilename.
For the one in extra.c, GetDiskFreeSpaceEx() still requires paths
to be in 8.3 format under Win9x. If the code just querries for
files (reading and/or writing), all win32 OS's support long filenames.