Bug: APR::Finfo->protection is not (stat $filename)[2]

Bug: APR::Finfo->protection is not (stat $filename)[2]

am 25.10.2008 18:17:18 von Joachim Zobel

Hi.

If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
documentaion claiming this as the same value should be fixed.

Sincerely,
Joachim

Re: Bug: APR::Finfo->protection is not (stat $filename)[2]

am 27.10.2008 20:23:02 von Philip Gollucci

Joachim Zobel wrote:
> Hi.
>
> If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
> documentaion claiming this as the same value should be fixed.
If you can submit a patch or point to this documentation, I'll be glad
to update that for you.


--
------------------------------------------------------------ ------------
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
Senior System Admin - RideCharge, Inc. http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

Re: Bug: APR::Finfo->protection is not (stat $filename)[2]

am 29.10.2008 15:48:35 von Adam Prime

Philip M. Gollucci wrote:
> Joachim Zobel wrote:
>> Hi.
>>
>> If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
>> documentaion claiming this as the same value should be fixed.
> If you can submit a patch or point to this documentation, I'll be glad
> to update that for you.
>
>
I'm guessing this is the page he was referring to.

http://perl.apache.org/docs/2.0/api/APR/Finfo.html#C_protect ion_

Adam

Re: Bug: APR::Finfo->protection is not (stat $filename)[2]

am 29.10.2008 18:28:09 von Philip Gollucci

Philip M. Gollucci wrote:
> Joachim Zobel wrote:
>> Hi.
>>
>> If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
>> documentaion claiming this as the same value should be fixed.
> If you can submit a patch or point to this documentation, I'll be glad
> to update that for you.
>
>
http://svn.apache.org/viewvc?rev=708947&view=rev

Done. Feel free to object or add to it.


--
------------------------------------------------------------ ------------
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
Senior System Admin - RideCharge, Inc. http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.