[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scp example: file type code instead of permission bits ?


On Wednesday 03 August 2011 20:00:15 you wrote:
> Good Evening,

Hello,

> So I replaced the line 185 with  this:         mode = s.st_mode & *~*S_IFMT;
> The only difference is the tild, it inverts the value of S_IFMT so we get
> the other part of s.st_mode wich is the permission bits.
> It seems to work.
> 
> Anyway, I hope that I didn't waste your time with a known issue,

thanks for the bug report. I've fixed it in master and the 0.5 branch.

> 
> Regards,

Cheers,


	-- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


References:
scp example: file type code instead of permission bits ?baptiste marchand <baptistemarchand42@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org