On Jan 27 16:18, Christian Franke via Cygwin wrote:
> Corinna Vinschen via Cygwin wrote:
> > On Jan 27 08:12, Christian Franke via Cygwin wrote:
> > > But there is a regression:
> > > stat() now returns st_mode = 0 for the queue file which results in an
> > > invalid S_IFMT field:
> > > 
> > > $ uname -r
> > > 3.5.6-1.x86_64
> > > 
> > > $ stat --printf '0x%04f/%A %n (%F)\n' /dev/mqueue /dev/mqueue/mqtest
> > > 0x43ff/drwxrwxrwt /dev/mqueue (directory)
> > > 0x0000/?--------- /dev/mqueue/mqtest (weird file)
> > > [...]
> > Please test cygwin-3.6.0-0.345.gb940faa144ca, which should be up in
> > an hour or so.
> 
> Looks good:
> 
> $ uname -r
> 3.6.0-0.345.gb940faa144ca.x86_64
> 
> $ rm -iv /dev/mqueue/mqtest
> rm: cannot remove '/dev/mqueue/mqtest': No such file or directory
> 
> $ touch /dev/mqueue/mqtest
> 
> $ stat --printf '0x%04f/%A %n (%F)\n' /dev/mqueue /dev/mqueue/mqtest
> 0x43ff/drwxrwxrwt /dev/mqueue (directory)
> 0x81a4/-rw-r--r-- /dev/mqueue/mqtest (regular file)
> 
> $ cat /dev/mqueue/mqtest
> QSIZE:0          NOTIFY:0     SIGNO:0     NOTIFY_PID:0
> 
> $ rm -iv /dev/mqueue/mqtest
> rm: remove regular file '/dev/mqueue/mqtest'? y
> removed '/dev/mqueue/mqtest'
> 
> Same behavior as on Linux.

Great, thanks for testing!

Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to