From 22ade6b2f047944beb88d1ecceb966a7d959e7bf Mon Sep 17 00:00:00 2001 From: Maurilio Longo Date: Wed, 16 Jan 2002 23:15:29 +0000 Subject: [PATCH] 2002-01-16 00:14 UTC+0100 Maurilio Longo * common/hbgete.c ! fixed warning on DosScanEnv() call --- harbour/ChangeLog | 4 ++++ harbour/source/common/hbgete.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index aba6799ee0..f16bfa11e4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -7,6 +7,10 @@ For example: 2002-12-01 23:12 UTC+0100 Foo Bar */ + * source/rdd/dbfntx/dbfntx1.c + * WHILE, etc, conditions support implemented (DBFNTX ) + +2002-01-17 14:15 UTC-0500 David G. Holm * contrib/Makefile + Added platform checks to determine which libraries to build. diff --git a/harbour/source/common/hbgete.c b/harbour/source/common/hbgete.c index a0971468f6..7dfd526960 100644 --- a/harbour/source/common/hbgete.c +++ b/harbour/source/common/hbgete.c @@ -60,9 +60,9 @@ #include "hbapi.h" -/* NOTE: Warning, this function _may_ return NULL as a result if +/* NOTE: Warning, this function _may_ return NULL as a result if the environment variable reading fails form some reason. - If the return value is not NULL, the caller must free + If the return value is not NULL, the caller must free the pointer. [vszakats] */ char * hb_getenv( const char * szName ) @@ -84,7 +84,7 @@ char * hb_getenv( const char * szName ) #elif defined(HB_OS_OS2) { - PCSZ EnvValue = ""; + PSZ EnvValue = ""; if( DosScanEnv( szName, &EnvValue ) == NO_ERROR ) {