| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1761
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_isdir() returns false for / |
Version: | 1.1-current |
Created By: | vedran |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v5984) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | vedran 02:44 Aug 02, 2007 |
| Subject says all :) on Linux fl_filename_isdir("/") will return false, whereas it should be true. Fix is in line 78 of fl_filename_isdir.cxx:
- if (length > 0 && isdirsep(n[length - 1])) { + if (length > 1 && isdirsep(n[length - 1])) { | |
|
#2 | matt 03:12 Oct 07, 2007 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |