diff --git a/ChangeLog.txt b/ChangeLog.txt index 4db05844f9..be1ce6dccf 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,12 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-08-26 20:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/compiler/hbdbginf.c + ! fixed module names generated for debugger line info when user compiles + files passing path with drive letters, i.e. hbmk2 c:\temp\test.prg + Thanks to Anton Ryzhov for the information about the problem. + 2013-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! fixed hb_socketConnect() with timeout in DOS Watt-32 builds. diff --git a/src/compiler/hbdbginf.c b/src/compiler/hbdbginf.c index 944e6970d8..c6c80588b0 100644 --- a/src/compiler/hbdbginf.c +++ b/src/compiler/hbdbginf.c @@ -101,7 +101,7 @@ PHB_DEBUGINFO hb_compGetDebugInfo( HB_COMP_DECL ) { int i; - ptr = strchr( pszModuleName, ':' ); + ptr = strrchr( pszModuleName, ':' ); i = ptr ? ( int ) ( ptr - pszModuleName ) : ( int ) strlen( pszModuleName ); pInfo = pLineInfo;