STR #1761

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.1 ]

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text top right image
 
#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.  
bottom left image   bottom right image

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.