X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fcurses.priv.h;h=ce335e64ce2c9102256884aedd33ddaa8223d30e;hp=a1ea1d49c86e0c3e927606db8324608661fb5872;hb=40df80d8d3f96c991f55569bce475e71cc38be12;hpb=b17ff3673e886e3cbb6b523341aa10b0c26b3903 diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h index a1ea1d49..ce335e64 100644 --- a/ncurses/curses.priv.h +++ b/ncurses/curses.priv.h @@ -34,7 +34,7 @@ /* - * $Id: curses.priv.h,v 1.348 2007/11/03 20:24:15 tom Exp $ + * $Id: curses.priv.h,v 1.349 2007/11/17 23:33:18 tom Exp $ * * curses.priv.h * @@ -482,6 +482,17 @@ typedef struct { size_t size; } TRACEBUF; +/* + * The filesystem database normally uses a single-letter for the lower level + * of directories. Use a hexadecimal code for filesystems which do not + * preserve mixed-case names. + */ +#if MIXEDCASE_FILENAMES +#define LEAF_FMT "%c" +#else +#define LEAF_FMT "%02x" +#endif + /* * TRACEMSE_FMT is no longer than 80 columns, there are 5 numbers that * could at most have 10 digits, and the mask contains no more than 32 bits