Euphoria Ticket #738: The pathinfo() function always returns a lowercase drive id.

The drive id returned should be the same case as returned by current_dir().


Type: Bug Report Severity: Normal Category: Library Routine
Assigned To: DerekParnell Status: Fixed, Please Confirm Reported Release: 4.0
Fixed in SVN #: View VCS: none Milestone:

1. Comment by jimcbrown Dec 30, 2011

That change was a deliberate one made in to fix

That ticket indicates the original bug only affects certain versions of Windows, so it might be possible to employ the fix only on those versions.

2. Comment by DerekParnell Dec 30, 2011

I'm not so sure that is the case, Jim. The changeset you quote refers to canonical_path() and current_dir(). The problem I'm discussing is in pathinfo(). In that function, there is an explicit call to lower() on the drive id. I'm suggesting that this call to lower() be removed.

3. Comment by jimcbrown Dec 30, 2011

D'oh! You're right, that lower() call should be removed - and this won't affect the other ticket.


Quick Links

User menu

Not signed in.

Misc Menu