From 5cd5127ae3e6b912b59a5ba18a0ef1f1945bdd82 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 16 Feb 2011 12:17:48 +0000 Subject: [PATCH] 2011-02-16 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddads/ads.ch + Added TOFIX regarding COMMIT cmd. * contrib/hbtip/cgi.prg ! Fixed TOFIX where *nix specific temp dir was hard-wired into multiplatform code. Pls test it. --- harbour/ChangeLog | 8 ++++++++ harbour/contrib/hbtip/cgi.prg | 3 +-- harbour/contrib/rddads/ads.ch | 5 +++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index afaf374910..bcc06916df 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,14 @@ The license applies to all entries newer than 2009-04-28. */ +2011-02-16 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/rddads/ads.ch + + Added TOFIX regarding COMMIT cmd. + + * contrib/hbtip/cgi.prg + ! Fixed TOFIX where *nix specific temp dir was hard-wired into + multiplatform code. Pls test it. + 2011-02-16 10:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddads/ads.ch ! Restored deleted ADS commands. diff --git a/harbour/contrib/hbtip/cgi.prg b/harbour/contrib/hbtip/cgi.prg index ff5ae9e942..87eaec7edd 100644 --- a/harbour/contrib/hbtip/cgi.prg +++ b/harbour/contrib/hbtip/cgi.prg @@ -285,8 +285,7 @@ METHOD StartSession( cSID ) CLASS TIpCgi ENDIF IF Empty( ::cSessionSavePath ) - /* TOFIX: *nix specific default. [vszakats] */ - ::cSessionSavePath := "/tmp/" + ::cSessionSavePath := hb_DirTemp() ENDIF IF ! Empty( cSID ) diff --git a/harbour/contrib/rddads/ads.ch b/harbour/contrib/rddads/ads.ch index 6cae975c7b..c3dee76623 100644 --- a/harbour/contrib/rddads/ads.ch +++ b/harbour/contrib/rddads/ads.ch @@ -294,7 +294,12 @@ #command SET CHARTYPE TO ; => AdsSetCharType( iif( Upper( <(x)> ) == "OEM", ADS_OEM, ADS_ANSI ) ) +/* TOFIX: This command is clashing with std.ch one. + Remove it after redirecting dbCommitAll() + to AdsWriteAllRecords() on RDD level. + [vszakats] */ #command COMMIT => AdsWriteAllRecords() + #command BEGIN TRANSACTION => AdsBeginTransaction() #command COMMIT TRANSACTION => AdsCommitTransaction() #command ROLLBACK TRANSACTION => AdsRollback()