CVS update: php3/functions
| From: | jim | Date: | Mon, 23 Nov 1998 06:07:26 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2537@lists.php.net to get a copy of this message | ||
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@lists.php.net
For help: php-dev-help@lists.php.net