Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Cygwin and NO_CASE_GLOB



In Src/pattern.c:

        if (!(patglobflags & ~GF_MULTIBYTE)
#ifdef __CYGWIN__
            /*
             * If the OS treats files case-insensitively and we
             * are looking at files, we don't need to use pattern
             * matching to find the file.
             */
            || (!(patglobflags & ~GF_IGNCASE) && (patflags & PAT_FILE))
#endif
            )

Is this really necessary/helpful?  If it is, why isn't it applied to
e.g. APFS filesystems on MacOS?




Messages sorted by: Reverse Date, Date, Thread, Author