From: "deckerben" Newsgroups: comp.os.msdos.djgpp Subject: dirent->d_name returns lowercase? Date: Tue, 24 Jun 2003 23:34:01 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 20 Message-ID: <3ef8c2c7$0$150$9b622d9e@news.freenet.de> NNTP-Posting-Host: 213.6.65.151 X-Trace: 1056490184 news.freenet.de 150 213.6.65.151:1179 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, 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. I am working on a work-around. Filenames that exist of *mIxEd* letter cases are returned correctly. Odd. Has anyone else noticed this? Regards, Ben