diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a4c60784ac..f2699bf4cb 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2012-05-24 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * harbour/config/postinst.hb + ! remove old links before hb_FLinkSym() is called. + Without it old links were not overloaded and + I've just noticed that I have still active links + to old harbour shared library in my system. + 2012-05-23 18:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idefindreplace.prg diff --git a/harbour/config/postinst.hb b/harbour/config/postinst.hb index 3c5d195e28..0b6fc48a15 100644 --- a/harbour/config/postinst.hb +++ b/harbour/config/postinst.hb @@ -423,6 +423,7 @@ STATIC PROCEDURE mk_hb_FCopy( cSrc, cDst, l644 ) /* Like hb_FLinkSym(), but with feedback */ STATIC PROCEDURE mk_hb_FLinkSym( cDst, cSrc ) + FErase( cSrc ) /* remove old links if any */ IF hb_FLinkSym( cDst, cSrc ) == 0 OutStd( hb_StrFormat( "! Symlink: %1$s <= %2$s", cDst, cSrc ) + hb_eol() ) ELSE