From 94cc5b7f59ce3bdb43bc7da77c566419b208e346 Mon Sep 17 00:00:00 2001 From: "David G. Holm" Date: Thu, 17 Jun 1999 05:06:42 +0000 Subject: [PATCH] See ChangeLog entry 19990617-00:00 EDT David G. Holm --- harbour/ChangeLog | 9 +++++++++ harbour/include/errorapi.h | 1 + harbour/source/rtl/environ.c | 10 ++++++---- harbour/source/rtl/math.c | 8 ++++---- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ac69a0169a..2c8d4151ed 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,12 @@ +19990617-00:00 EDT David G. Holm + * include/errorapi.h + - Added "#include " + * source/rtl/environ.c + - Added "#include + - Converted all _errFunctions to hb_errFunctions + * source/rtl/math.c + - Added missing _errFunction to hb_errFunction conversions + 19990616-23:30 EDT David G. Holm * makefile.icc - Added or corrected various include file dependencies diff --git a/harbour/include/errorapi.h b/harbour/include/errorapi.h index 131cf5a210..6662f5e1f2 100644 --- a/harbour/include/errorapi.h +++ b/harbour/include/errorapi.h @@ -9,6 +9,7 @@ // compatible //- +#include #include "error.ch" diff --git a/harbour/source/rtl/environ.c b/harbour/source/rtl/environ.c index 68b5cc8fd6..7a7661d114 100644 --- a/harbour/source/rtl/environ.c +++ b/harbour/source/rtl/environ.c @@ -2,6 +2,8 @@ * $Id$ */ +#include + #ifdef __IBMCPP__ #define INCL_DOSMISC #endif @@ -246,10 +248,10 @@ HARBOUR HB___RUN( void ) } else { - PHB_ITEM pError = _errNew(); - _errPutDescription( pError, "RUN: Incorrect number of arguments" ); - _errLaunch( pError ); - _errRelease( pError ); + PHB_ITEM pError = hb_errNew(); + hb_errPutDescription( pError, "RUN: Incorrect number of arguments" ); + hb_errLaunch( pError ); + hb_errRelease( pError ); } #endif } diff --git a/harbour/source/rtl/math.c b/harbour/source/rtl/math.c index c5d380cb53..5d3db650a3 100644 --- a/harbour/source/rtl/math.c +++ b/harbour/source/rtl/math.c @@ -278,10 +278,10 @@ FUNCTION MOD(cl_num, cl_base) } else { - PHB_ITEM pError = _errNew(); - _errPutDescription(pError, "Argument error: %"); - _errLaunch(pError); - _errRelease(pError); + PHB_ITEM pError = hb_errNew(); + hb_errPutDescription(pError, "Argument error: %"); + hb_errLaunch(pError); + hb_errRelease(pError); } }