Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Cygwin and NO_CASE_GLOB
- X-seq: zsh-workers 47831
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Cygwin and NO_CASE_GLOB
- Date: Thu, 14 Jan 2021 10:48:29 -0800
- Archived-at: <https://zsh.org/workers/47831>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-01/CAH%2Bw%3D7Y8vyGSbwDGG0dB2GORXWncRfBKjNr2eU0GUGxnz_EGhQ%40mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
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