summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2013-07-13 13:37:04 +0100
committerStanislav Malyshev <stas@php.net>2013-07-15 00:23:03 -0700
commite9a95d78ef7c43bc6b6478b9370047d854b20024 (patch)
tree88ee26fa1c879679a234deb87973a3acd0ff3382 /ext/dba
parentb79b13b4efbf3374ec7d28286b29928f43da6d1d (diff)
downloadphp-git-e9a95d78ef7c43bc6b6478b9370047d854b20024.tar.gz
typo fixes
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/dba.c2
-rw-r--r--ext/dba/tests/dba_gdbm.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 303d65c33b..5295ab3673 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -889,7 +889,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
RETURN_FALSE;
}
if (hptr->flags & (DBA_NO_APPEND|DBA_CAST_AS_FD)) {
- /* Needed becasue some systems do not allow to write to the original
+ /* Needed because some systems do not allow to write to the original
* file contents with O_APPEND being set.
*/
if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) {
diff --git a/ext/dba/tests/dba_gdbm.phpt b/ext/dba/tests/dba_gdbm.phpt
index 33d7d20615..8ac3f6474d 100644
--- a/ext/dba/tests/dba_gdbm.phpt
+++ b/ext/dba/tests/dba_gdbm.phpt
@@ -12,7 +12,7 @@ DBA GDBM handler test
$lock_flag = ''; // lock in library
require_once dirname(__FILE__) .'/dba_handler.inc';
- // Read during write is system dependant. Important is that there is no deadlock
+ // Read during write is system dependent. Important is that there is no deadlock
?>
===DONE===
--EXPECTF--