19990604-14:14 CET Patrick Mast
* source/rtl/set.c
Removed #include <sys\stat.h>
* source/rtl/files.c
Removed #include <sys\stat.h>
* source/compiler/harbour.y
Put in the build Nr.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
19990604-14:14 CET Patrick Mast
|
||||
* source/rtl/set.c
|
||||
Removed #include <sys\stat.h>
|
||||
* source/rtl/files.c
|
||||
Removed #include <sys\stat.h>
|
||||
* source/compiler/harbour.y
|
||||
Put in the build Nr.
|
||||
|
||||
19990604-14:24 CET Victor Szel (upload Eddie Runia)
|
||||
+ source/rtl/natmsg/msghu.c
|
||||
National language message file for Hungarian
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
* $Id$
|
||||
*
|
||||
* Harbour compiler (yacc rules and actions)
|
||||
* Build 21 proposal: spring 1999
|
||||
* Build 25
|
||||
* Usage: bison -d -v harbour.y You may find Bison at www.harbour.project.org
|
||||
*/
|
||||
|
||||
#define BUILD 21 /* current harbour.y build */
|
||||
#define BUILD 25 /* current harbour.y build */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#include <sys\stat.h>
|
||||
/* #include <sys\stat.h> */
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <share.h>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifdef __DJGPP__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
/* #include <sys/stat.h> */
|
||||
#include <set.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -103,7 +103,7 @@ static int open_handle (char * file_name, BOOL bMode, char * def_ext)
|
||||
}
|
||||
/* Open the file either in append (bMode) or truncate mode (!bMode), but
|
||||
always use binary mode */
|
||||
handle = open (path, O_BINARY | O_WRONLY | O_CREAT | (bMode ? O_APPEND : O_TRUNC ), S_IWRITE);
|
||||
handle = open (path, O_BINARY | O_WRONLY | O_CREAT | (bMode ? O_APPEND : O_TRUNC )); /* , S_IWRITE); */
|
||||
if (handle < 0) printf("\nError %d creating %s (DOS error %02x)", errno, path, _doserrno);
|
||||
if (handle < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user