See ChangeLog entry 19990608-13:00 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-06-08 18:04:09 +00:00
parent eee99f030f
commit a9ff63fa44
5 changed files with 19 additions and 6 deletions

View File

@@ -1,3 +1,17 @@
19990608-13:00 EDT David G. Holm <dholm@jsd-llc.com>
* source/rtl/files.c
- Changed "#if" for "#include <mingw32/share.h>" from "#if defined(
__GCC__) && !defined(__DJGPP__)" to just "#if defined(__CYGNUS__)"
* source/rtl/set.c
- Moved "#include <sys/stat.h>" outside "#if defined(__GCC__) ||
defined(__DJGPP__)" block, so that it is included for all compilers.
* source/rtl/strcmp.c
Added braces to "if( lLenFirst != lLenSecond ) /* Both empty ? */"
block to avoid an implicit else warning for the else clause for the
"if( hb_set.HB_SET_EXACT || bForceExact )" block.
* source/rtl/natmsg/msghu.c
Removed extra "/*" from inside "TODO:" comment block.
19990608-20:00 Alexander Kresin
Implemented: #command, #xcommand, #translate, #xtranslate .
Some functions rewritten for a better functionality and readability.
@@ -13,7 +27,6 @@
- source/hbpp/exam2.ch
Tue Jun 08 09:22:40 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl>
* source/rtl/set.c (open_handle):
Misplaced parenthesis when callin open() caused S_IWRITE to never
be seen by open().
@@ -43,7 +56,6 @@ Mon Jun 07 20:42:04 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl>
Made a mistake in my previous commit. This one works.
Mon Jun 07 20:20:32 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl>
* config/bin.cf:
* config/c.cf:
* config/dir.cf:

View File

@@ -5,7 +5,7 @@
#include <extend.h>
#include <string.h>
#if defined(__GNUC__) && !defined(__DJGPP__)
#if defined(__CYGNUS__)
#include <mingw32/share.h>
#endif

View File

@@ -6,7 +6,7 @@
/* Codepage: 852 */
/* TODO: Decide which codepage to use, and how to implement the whole
/* codepage issue */
codepage issue */
char *hb_monthsname[ 12 ] =
{

View File

@@ -4,14 +4,13 @@
#if defined(__GNUC__) || defined(__DJGPP__)
#include <unistd.h>
#include <sys/stat.h>
#endif
#include <ctype.h>
#include <extend.h>
#include <fcntl.h>
#include <io.h>
#include <sys/stat.h>
#include <set.h>
#include <errno.h>

View File

@@ -45,10 +45,12 @@ int hb_itemStrCmp( PHB_ITEM pFirst, PHB_ITEM pSecond, BOOL bForceExact )
else
{
if( lLenFirst != lLenSecond ) /* Both empty ? */
{
if( hb_set.HB_SET_EXACT || bForceExact )
iRet = (lLenFirst < lLenSecond) ? -1 : 1;
else
iRet = (lLenSecond == 0) ? 0 : -1;
}
else
iRet = 0; /* Both empty => Equal ! */
}