[jamming] GLOB and case-sensitivity

David Abrahams david.abrahams at rcn.com
Wed Feb 19 08:50:02 PST 2003

David Abrahams <david.abrahams at rcn.com> writes:

> Boost.Jam seems to have case-sensitive GLOB on NT.  In other words, if
> I use 
>   GLOB "." : *.bat
> and there's a FOO.BAT in the current directory, the result will still
> be empty.  Is this something that's been fixed in Perforce Jam, or
> should it be considered a bug?

Now patched in Boost.Jam CVS to downcase found filenames on NT and
Cygwin before matching against the pattern.  An optional 3rd argument
causes downcasing on all platforms.  Case-insensitive comparison can
be achieved by lowercasing the patterns before passing them in.

Dave Abrahams
Boost Consulting

More information about the jamming mailing list