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) Kevin Routley Sep 17, 2020  
 

I have just confirmed that my change also fixes another problem I've been having:

    fl_filename_absolute(buff, sizeof(buff), "E:\\temp\\log\\log.txt");
    assert(!strcmp(buff, "E:\\temp\\log\\log.txt"));

Before my fix, the results would be: "E:/temp/E:\temp\log\log.txt".


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'.