Re: fstat gives wrong mode after chmod and fchmod

2005-09-22 Thread Yitzchak Scott-Thoennes
On Thu, Sep 22, 2005 at 12:04:04PM +0200, Corinna Vinschen wrote: > On Sep 21 20:31, Yitzchak Scott-Thoennes wrote: > > On Sun, Sep 18, 2005 at 03:22:56PM -0700, Yitzchak Scott-Thoennes wrote: > > > I'm seeing this on the 20050916 but as far as I know it's not a > > > regression. A new perl test (

Re: fstat gives wrong mode after chmod and fchmod

2005-09-22 Thread Corinna Vinschen
On Sep 21 20:31, Yitzchak Scott-Thoennes wrote: > On Sun, Sep 18, 2005 at 03:22:56PM -0700, Yitzchak Scott-Thoennes wrote: > > I'm seeing this on the 20050916 but as far as I know it's not a > > regression. A new perl test (actually using an existing file opened > > for read access) turned this up

Re: fstat gives wrong mode after chmod and fchmod

2005-09-21 Thread Yitzchak Scott-Thoennes
On Sun, Sep 18, 2005 at 03:22:56PM -0700, Yitzchak Scott-Thoennes wrote: > I'm seeing this on the 20050916 but as far as I know it's not a > regression. A new perl test (actually using an existing file opened > for read access) turned this up. > > The following gives: > after fchmod to 0 and chmo

fstat gives wrong mode after chmod and fchmod

2005-09-18 Thread Yitzchak Scott-Thoennes
I'm seeing this on the 20050916 but as far as I know it's not a regression. A new perl test (actually using an existing file opened for read access) turned this up. The following gives: after fchmod to 0 and chmod to 0666, stat: 666 fstat: 444 #include #include #include int main(int argc, c