Update of /cvsroot/easymod/easymod2/mods/easymod/em_includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv433/mods/easymod/em_includes
Modified Files:
em_functions.php
Log Message:
bug fixes
Index: em_functions.php
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/em_includes/em_functions.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** em_functions.php 28 Jun 2005 19:25:46 -0000 1.13
--- em_functions.php 8 Jul 2005 17:15:53 -0000 1.14
***************
*** 697,701 ****
$sP = 'b';
elseif($in_Perms & 0x8000) // Regular
! $sP = '−';
elseif($in_Perms & 0xA000) // Symbolic Link
$sP = 'l';
--- 697,701 ----
$sP = 'b';
elseif($in_Perms & 0x8000) // Regular
! $sP = '-;';
elseif($in_Perms & 0xA000) // Symbolic Link
$sP = 'l';
***************
*** 706,725 ****
// owner
! $sP .= (($in_Perms & 0x0100) ? 'r' : '−') .
! (($in_Perms & 0x0080) ? 'w' : '−') .
(($in_Perms & 0x0040) ? (($in_Perms & 0x0800) ? 's' : 'x' ) :
! (($in_Perms & 0x0800) ? 'S' : '−'));
// group
! $sP .= (($in_Perms & 0x0020) ? 'r' : '−') .
! (($in_Perms & 0x0010) ? 'w' : '−') .
(($in_Perms & 0x0008) ? (($in_Perms & 0x0400) ? 's' : 'x' ) :
! (($in_Perms & 0x0400) ? 'S' : '−'));
// world
! $sP .= (($in_Perms & 0x0004) ? 'r' : '−') .
! (($in_Perms & 0x0002) ? 'w' : '−') .
(($in_Perms & 0x0001) ? (($in_Perms & 0x0200) ? 't' : 'x' ) :
! (($in_Perms & 0x0200) ? 'T' : '−'));
return $sP ;
--- 706,725 ----
// owner
! $sP .= (($in_Perms & 0x0100) ? 'r' : '-') .
! (($in_Perms & 0x0080) ? 'w' : '-') .
(($in_Perms & 0x0040) ? (($in_Perms & 0x0800) ? 's' : 'x' ) :
! (($in_Perms & 0x0800) ? 'S' : '-'));
// group
! $sP .= (($in_Perms & 0x0020) ? 'r' : '-') .
! (($in_Perms & 0x0010) ? 'w' : '-') .
(($in_Perms & 0x0008) ? (($in_Perms & 0x0400) ? 's' : 'x' ) :
! (($in_Perms & 0x0400) ? 'S' : '-'));
// world
! $sP .= (($in_Perms & 0x0004) ? 'r' : '-') .
! (($in_Perms & 0x0002) ? 'w' : '-') .
(($in_Perms & 0x0001) ? (($in_Perms & 0x0200) ? 't' : 'x' ) :
! (($in_Perms & 0x0200) ? 'T' : '-'));
return $sP ;
|