From f9362d3d4d99a6b71b85f3c9c1e5f61bdb60e676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Mon, 26 Aug 2013 20:56:58 +0200 Subject: [PATCH] 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. --- ChangeLog.txt | 6 ++++++ src/compiler/hbdbginf.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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;