delorie.com/archives/browse.cgi | search |
Date: | Wed, 25 Jun 2003 07:50:56 +0300 |
From: | "Eli Zaretskii" <eliz AT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | bdeck AT lycos DOT co DOT uk |
Message-Id: | <2593-Wed25Jun2003075056+0300-eliz@elta.co.il> |
X-Mailer: | emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 |
CC: | djgpp AT delorie DOT com |
In-reply-to: | <3ef8c2c7$0$150$9b622d9e@news.freenet.de> (bdeck@lycos.co.uk) |
Subject: | Re: dirent->d_name returns lowercase? |
References: | <3ef8c2c7$0$150$9b622d9e AT news DOT freenet DOT de> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: "deckerben" <bdeck AT lycos DOT co DOT uk> > Newsgroups: comp.os.msdos.djgpp > Date: Tue, 24 Jun 2003 23:34:01 +0200 > > I have seen that for filenames that are composed entirely of UPPERCASE > letters, that their dirent->d_name entry is all *lowercase*. This can be a > problem when porting posix-oriented programs that happen to require > UPPERCASE. Good examples of this are module subdirectories for Python and re > comparisons from a list. As DJ pointed out, this is intentional. > I am working on a work-around. You can set FNCASE=y in the environment and get what you want. This is not the default because in most situations the behavior you see now is what users want, especially if they have files that come from DOS (where _all_ directory entries are in UPPERCASE).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |