Here it is (note I haven't tried it myself):

>From: Warren Jones <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: case-insensitive globbing (patch for 3.78.1)
>Date: Thu, 3 Feb 2000 09:50:05 -0800
>
>If HAVE_CASE_INSENSITIVE_FS is defined under Win32, file name
>globbing should also be case-insensitive (i.e. the wildcard
>function).  I'm including a patch for version 3.78.1.
>
>Perhaps it would be better to also remove the tests for _AMIGA
>or VMS, and simply define HAVE_CASE_INSENSITIVE_FS when building
>for these platforms.
>
>-- 
>Warren Jones

Index: glob.c
===================================================================
RCS file: /usr0/sweng/src/eval/CVS.repo/win32/gmake/glob/glob.c,v
retrieving revision 1.1.1.2
retrieving revision 1.3
diff -c -r1.1.1.2 -r1.3
*** glob.c      1999/12/18 00:56:40     1.1.1.2
--- glob.c      2000/02/03 17:38:27     1.3
***************
*** 1282,1288 ****
            {
              int fnm_flags = ((!(flags & GLOB_PERIOD) ? FNM_PERIOD : 0)
                               | ((flags & GLOB_NOESCAPE) ? FNM_NOESCAPE : 0)
! #if defined _AMIGA || defined VMS
                                   | FNM_CASEFOLD
  #endif
                                   );
--- 1282,1288 ----
            {
              int fnm_flags = ((!(flags & GLOB_PERIOD) ? FNM_PERIOD : 0)
                               | ((flags & GLOB_NOESCAPE) ? FNM_NOESCAPE : 0)
! #if defined _AMIGA || defined VMS || defined HAVE_CASE_INSENSITIVE_FS
                                   | FNM_CASEFOLD
  #endif
                                   );


-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

Reply via email to