[PHP-BUG] Bug #51763 [NEW]: SplFileInfo::getType()

2010-05-06 Thread v-sumada at microsoft dot com
From: 
Operating system: All windows OS
PHP version:  5.3.2
Package:  SPL related
Bug Type: Bug
Bug description:SplFileInfo::getType()

Description:

The SplFileInfo::getType() For Symbolic link returns "dir" which in turn
should return "link" .This happens to be in 5.3.2 and occurs on all windows
OS.



It Correctly  returns the type of  file referenced which is for Dir  and
File . 





getType());

?>



Expected result :string(4)"Link"

Actual result : string(3) "dir" 

Test script:
---
getType());

?>

Expected result:

string(4)"Link"





Actual result:
--
string(3) "dir" 

-- 
Edit bug report at http://bugs.php.net/bug.php?id=51763&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51763&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51763&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=51763&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=51763&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51763&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51763&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=51763&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=51763&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=51763&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=51763&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=51763&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=51763&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=51763&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51763&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=51763&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=51763&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=51763&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=51763&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=51763&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=51763&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=51763&r=mysqlcfg



[PHP-BUG] Bug #51766 [NEW]: SplFileInfo::isLink() Fails for Symlinks on windows

2010-05-07 Thread v-sumada at microsoft dot com
From: 
Operating system: All Windows OS
PHP version:  5.3.2
Package:  SPL related
Bug Type: Bug
Bug description:SplFileInfo::isLink()  Fails for Symlinks on windows 

Description:

SplFileInfo::isLink()  Which returns False for Symbolic links on all 
windows OS. we have a  File Symbolic link created  for a file and tried to
test whether the referenced file  by SplFileInfo is symbolic link or not.





In the above script we have a symlink(filesymlink)created for a file
'testfile'  and tried to check with the file_exists function for
symlink(filesymlink) which returns true and it returns false for the
SplFileInfo::isLink().





Test script:
---
isLink());

?>

Expected result:

bool(true)

bool(true)

Actual result:
--
bool(true)

bool(false)

-- 
Edit bug report at http://bugs.php.net/bug.php?id=51766&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51766&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51766&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=51766&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=51766&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51766&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51766&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=51766&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=51766&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=51766&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=51766&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=51766&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=51766&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=51766&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51766&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=51766&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=51766&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=51766&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=51766&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=51766&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=51766&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=51766&r=mysqlcfg



[PHP-BUG] Bug #51804 [NEW]: SplFileInfo::getLinkTarget() Fails.

2010-05-12 Thread v-sumada at microsoft dot com
From: 
Operating system: All Windows OS
PHP version:  5.3SVN-2010-05-13 (SVN)
Package:  SPL related
Bug Type: Bug
Bug description:SplFileInfo::getLinkTarget() Fails.

Description:

SplFileInfo::getLinkTarget() fails .we have a filesymlink created  for a
file (filesymbolic.txt)  and tried to read the target of the filesymlink
created and it returns an error .This happens for Directory also.



When this Function used on accessing symlinks over remote share  it returns
an error with 'Bad File Descriptor'.

Test script:
---
getLinkTarget());

?>

Expected result:

bool(true)

string(16) filesymbolic.txt

Actual result:
--
bool(true)

Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to
read link C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\htdocs\symlinktodir, error: No such file or directory'
in C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\htdocs\getLinkTarget.php:5 Stack trace: #0 C:\Program
Files (x86)\Apache Software
Foundation\Apache2.2\htdocs\getLinkTarget.php(5):
SplFileInfo->getLinkTarget() #1 {main} thrown in C:\Program Files
(x86)\Apache Software Foundation\Apache2.2\htdocs\getLinkTarget.php on line
5





-- 
Edit bug report at http://bugs.php.net/bug.php?id=51804&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51804&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51804&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=51804&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=51804&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51804&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51804&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=51804&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=51804&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=51804&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=51804&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=51804&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=51804&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=51804&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51804&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=51804&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=51804&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=51804&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=51804&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=51804&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=51804&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=51804&r=mysqlcfg



[PHP-BUG] Bug #51945 [NEW]: Symlink() Fails On DFS Shares

2010-05-28 Thread v-sumada at microsoft dot com
From: 
Operating system: windows 2008, 2008R2,2003
PHP version:  5.3.2
Package:  Filesystem function related
Bug Type: Bug
Bug description:Symlink()  Fails  On DFS Shares 

Description:

We have a DFS Standalone namespace created at the 2008 Server with a new
folder  which has been given a target as remote share .We are trying to
create a symlink in this remote Share from 2008R2 Server for a directory
and as well as File and Both the cases Fail.The Expected result is failure
in  creating the symlink using symlink(). The processs Montior show with
the result of "Name Not Found"  in creating a symlink.

Test script:
---


Expected result:

bool(true)

bool(true)

Actual result:
--
bool(true)

bool(false)

-- 
Edit bug report at http://bugs.php.net/bug.php?id=51945&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51945&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51945&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=51945&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=51945&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51945&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51945&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=51945&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=51945&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=51945&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=51945&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=51945&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=51945&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=51945&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51945&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=51945&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=51945&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=51945&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=51945&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=51945&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=51945&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=51945&r=mysqlcfg