[wp-trac] [WordPress Trac] #20365: [Patch] Fix getnumchmodfromh
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 5 09:57:15 UTC 2012
#20365: [Patch] Fix getnumchmodfromh
--------------------------+-----------------------------
Reporter: Keruspe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem | Version: 3.3.1
Severity: major | Keywords: has-patch
--------------------------+-----------------------------
Currently, getnumchmodfromh is wrong
"-rwxrw-r--" is currently translated to
"0421420400" (which is correct),
but then, it's being translated to
0+4+2 1+4+2 0+4+0 and the last 0 is ignored -> 674
when it should be
0 4+2+1 4+2+0 4+0+0 -> 0764
The patch attached solves this issue
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20365>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list