From 7f77a893007a064d69773bae8caa14bd8ce83637 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 26 Jan 2016 11:58:32 +0100 Subject: [PATCH] we now have fcntl --- tests/ndbm/ndbm001.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ndbm/ndbm001.phpt b/tests/ndbm/ndbm001.phpt index e14f3f1..27012be 100644 --- 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())); } -- 2.30.2