www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/14/15:15:12

From: "Tim 'Zastai' Van Holder" <zastai AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: crt0 globbing with crt0_preserve_case: broken or intended behaviour?
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <zfXl5.49029$Fw6.1281521@afrodite.telenet-ops.be>
Date: Mon, 14 Aug 2000 18:54:23 GMT
NNTP-Posting-Host: 213.224.94.80
X-Trace: afrodite.telenet-ops.be 966279263 213.224.94.80 (Mon, 14 Aug 2000 20:54:23 MET DST)
NNTP-Posting-Date: Mon, 14 Aug 2000 20:54:23 MET DST
Organization: Pandora - Met vlotte tred op Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I just noticed something odd when trying to run
  rm -v /*._dd
to remove the FILE*._DD files created by Norton Disk Doctor.
rm refused, saying that '/*._dd' did not exist.

I use a patched version of fileutils-4.0, that sets the crt0 flags to
include
_CRT0_FLAG_PRESERVE_FILENAME_CASE, mostly for the benefit of
ls (I use ls, not ls-lisp, in emacs, so I get correct file names (ie README,
NEWS, etc). However, it seems that if that crt0 flag is set, the crt0
globber will not expand arguments correctly (ie it needs *._DD to match
the files, not *._dd). Since setting opendir_flags instead solved the
problem (correct globbing and correct case), this isn't really a big issue,
but I would like to know whether this behavious is intended or broken.

--
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019