Mail Archives: djgpp/1998/07/26/09:45:54
In article <1998072600112200 DOT UAA09619 AT ladder03 DOT news DOT aol DOT com>, OoHOSEoO
<oohoseoo AT aol DOT com> writes
>#define MAXPATH 512
>#define MAXDRIVE 3
>#define MAXDIR 250
>#define MAXFILE 250
>#define MAXEXT 9
Correct values for Win32 should be:
#define MAXPATH 260
#define MAXDRIVE 3
#define MAXDIR 256
#define MAXFILE 256
#define MAXEXT 256
Personally I would bump the MAXPATH value up a bit for safety, because
djgpp could conceivably not honour the Windoze 260 char limit in some
circumstanes (but this is just speculation;)
256 is the absolute maximum length of each entry in a VFAT directory.
If you plan on using URLs try MAXPATH=1024.
In article <199807260114 DOT VAA20247 AT delorie DOT com>, DJ Delorie
<dj AT delorie DOT com> writes
>JGPP is a DOS compiler. Those are the correct values for MS-DOS. If
>you think they should be different, post a diff to
>djgpp-workers AT delorie DOT com with your rationale.
...but those are wrong for LFN enabled Dos in a DOSbox, since djgpp
supports LFNs it should use correct LFN values for safety.
---
Paul Shirley: my email address is 'obvious'ly anti-spammed
- Raw text -