https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d870655f570f25393dcefbaf0b1dc807f277749c
commit d870655f570f25393dcefbaf0b1dc807f277749c Author: Corinna Vinschen <[email protected]> AuthorDate: Tue Jan 21 17:10:31 2025 +0100 Commit: Corinna Vinschen <[email protected]> CommitDate: Tue Jan 21 17:22:29 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]> 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 869383c836cb..452b4034ac89 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -1273,7 +1273,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)
