To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86655
Issue #|86655
Summary|Basic : Dir search is case sensitive on MS-Windows
Component|scripting
Version|OOo 2.4 RC2
Platform|All
URL|
OS/Version|Windows XP
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|kr
Reported by|bmarcelly
------- Additional comments from [EMAIL PROTECTED] Mon Mar 3 19:16:45 +0000
2008 -------
MS-Windows only.
This bug was found by a user on version 2.0.3
It is still valid on OOo 2.4 RC2
Steps to reproduce:
This Basic code searches the first file with extension jpg:
Sub Main
print Dir("c:\Docs OpenOffice\*.jpg", 0)
End Sub
put in the directory a jpeg image, e.g. : britney.jpg
The macro prints this filename.
Rename the file as : britney.JPG
run again the macro : nothing is found.
On MS-Windows, filenames (and paths) are case insensitive, Dir() function
should have
found it.
Indeed Dir() finds it correctly on OpenOffice.org 1.1.5.
This is a nasty bug because you may skip files without knowing. And there is no
simple workaround.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]