https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ce947cc88dd78cf4a04ad136f7d07f33f0ff5088
commit ce947cc88dd78cf4a04ad136f7d07f33f0ff5088 Author: Corinna Vinschen <[email protected]> AuthorDate: Tue Jan 21 17:10:31 2025 +0100 Commit: Corinna Vinschen <[email protected]> CommitDate: Sat Jan 25 11:42:00 2025 +0100 Cygwin: path_conv: set on-disk-device flag for message queue files This simplifies further checks for on-disk-devices in places with special handling for such files. Signed-off-by: Corinna Vinschen <[email protected]> (cherry picked from commit d870655f570f25393dcefbaf0b1dc807f277749c) Diff: --- winsup/cygwin/path.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 1802e76f71d8..2302b9d6349e 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -1233,7 +1233,10 @@ path_conv::check (const char *src, unsigned opt, /* FIXME: bad hack alert!!! We need a better solution */ if (!strncmp (path_copy, MQ_PATH, MQ_LEN) && path_copy[MQ_LEN]) - dev.parse (FH_MQUEUE); + { + dev.parse (FH_MQUEUE); + dev.setfs (1); + } } if (opt & PC_NOFULL)
