Mail Archives: djgpp/2003/01/28/13:43:25
> From: "Gary Hubbard" <me AT sandia DOT gov>
> Newsgroups: comp.os.msdos.djgpp
> Date: Tue, 28 Jan 2003 08:18:09 -0800
> 
> Comman line filename expansions (any presumably others) seem to be case
> sensitive.
That's true: DJGPP tries to mimic a Unix environment, and thus
file-name expansion is by design case-sensitive.  However, since the
filesystems on which DJGPP runs are case-INsensitive, the wildcard
expansion tries to play along: the file names match case-insensitively
unless the wildcard includes upper-case characters.
See the documentation for the library function `glob' for more details
(type "info libc alpha glob" from the DOS prompt).
> Thus running a program
>     prog *.vec
> will fail with a memory access exception (before main() is started) if the
> files were written as upper case, say A.VEC and B.VEC.  Running with
>    prog *.VEC
> will work.
> 
> Is this a known problem?
No, I don't think we know about this problem.  Please post the
details:
  - the exact command you type from the command prompt;
  - the exact error message(s) printed when the program fails, and
  - the output of "dir /x" in the directory where you run the failing
    command.
Thanks.
- Raw text -