projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
7220a46
)
we now have fcntl
author
Michael Wallner
<mike@php.net>
Tue, 26 Jan 2016 10:58:32 +0000
(11:58 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 26 Jan 2016 10:58:32 +0000
(11:58 +0100)
tests/ndbm/ndbm001.phpt
patch
|
blob
|
history
diff --git
a/tests/ndbm/ndbm001.phpt
b/tests/ndbm/ndbm001.phpt
index e14f3f169029748c41f9cb754bec09f8bfa4a6db..27012bedf6b43d8e4df0fde6edf0a73776770388 100644
(file)
--- a/
tests/ndbm/ndbm001.phpt
+++ b/
tests/ndbm/ndbm001.phpt
@@
-13,7
+13,7
@@
function_exists("psi\\dbm_open") or die("skip - need nbdm support");
class db {
private $db;
- function __construct($file = "ndbm001.db", $o =
0102
, $m = 0640) {
+ function __construct($file = "ndbm001.db", $o =
psi\O_CREAT|psi\O_RDWR
, $m = 0640) {
if (!$this->db = psi\dbm_open($file, $o, $m)) {
throw new Exception(psi\strerror(psi\errno()));
}