Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » [BUG] resolving program's file name for debug output
[BUG] resolving program's file name for debug output [message #19386] Sat, 29 November 2008 23:51 Go to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Function sLogFile starting at Core/Debug.cpp:34 checks for pointer value of variable exe and not for empty character array as it is meant to be.
Check should be (!*exe) instead of (!exe).

Matthias
Re: [BUG] resolving program's file name for debug output [message #19387 is a reply to message #19386] Sun, 30 November 2008 08:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
masu wrote on Sat, 29 November 2008 17:51

Function sLogFile starting at Core/Debug.cpp:34 checks for pointer value of variable exe and not for empty character array as it is meant to be.
Check should be (!*exe) instead of (!exe).

Matthias


Correct observation, thanks!

Mirek
Re: [BUG] resolving program's file name for debug output [message #19395 is a reply to message #19387] Sun, 30 November 2008 20:02 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Mirek, I think the next appearance a few lines later should also be fixed.

Matthias
Previous Topic: streaming [FEATURE REQUEST]
Next Topic: FindFile problem in XP [BUG?]
Goto Forum:
  


Current Time: Fri Apr 19 15:22:19 CEST 2024

Total time taken to generate the page: 0.02418 seconds