| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #741
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | Core Library |
Summary: | fl_filename_relative needs case insensitivity for Windows drive letter |
Version: | 1.1.6 |
Created By: | seeger.cs.unc |
Assigned To: | mike |
Fix Version: | 1.1.7 (SVN: v4071) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | seeger.cs.unc 11:41 Mar 02, 2005 |
| In MS Windows/VC++7, the fl_filename_relative() function does not return the correct result when the drive letter returned by getcwd() is lowercase and the drive letter in "from" is uppercase. The problem is in the lines: if (*from != *cwd) { // Not the same drive... strlcpy(to, from, tolen); return 0; } This should be changed to something like: if (tolower(*from) != tolower(*cwd)) { // Not the same drive... strlcpy(to, from, tolen); return 0; } | |
|
#2 | mike 15:09 Mar 05, 2005 |
| Fixed in Subversion repository.
| |
[ Return to Bugs & Features ]
|
| |