FLTK logo

Re: [fltk/fltk] fl_filename_absolute mishandles double-backslash on Windows (#141)

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 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] fl_filename_absolute mishandles double-backslash on Windows (#141) erco77 Sep 18, 2020  
 

Ah, here it is.. possibly related work here:
https://www.fltk.org/str.php?L3441

In this case I was working on the OPPOSITE function, fl_filename_relative(), which had similar issues.
Built a pretty good test suite at the time too, similar to your tests OP.
The basis of my work went down the linux realpath(3) rabbit hole. Looks like I /only/ addressed unix, and saw Windows as a whole other can of worms because of UNCs and drive maps (X:). I know I put a bit of work into that too, but not sure if I kept it.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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