[PHP-DEV] CVS update: php3/functions From: jim (php-dev <email protected>)
Date: 11/23/98

Date: Monday November 23, 1998 @ 1:07
Author: jim

Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv26811/functions

Modified Files:
        dbase.c
Log Message:
Use O_BINARY on Win32. Fixes bug #887.

Index: php3/functions/dbase.c
diff -c php3/functions/dbase.c:1.68 php3/functions/dbase.c:1.69
*** php3/functions/dbase.c:1.68 Thu Nov 12 17:02:41 1998
--- php3/functions/dbase.c Mon Nov 23 01:07:25 1998
***************
*** 526,532 ****
                  RETURN_FALSE;
          }
  
! if ((fd = open(filename->value.str.val, O_RDWR|O_CREAT, 0644)) < 0) {
                  php3_error(E_WARNING, "Unable to create database (%d): %s", errno, strerror(errno));
                  RETURN_FALSE;
          }
--- 526,532 ----
                  RETURN_FALSE;
          }
  
! if ((fd = open(filename->value.str.val, O_BINARY|O_RDWR|O_CREAT, 0644)) < 0) {
                  php3_error(E_WARNING, "Unable to create database (%d): %s", errno, strerror(errno));
                  RETURN_FALSE;
          }

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>