From: foobar Date: Thu, 16 Dec 2004 12:36:49 +0000 (+0000) Subject: MFH: Fix typo (avaliable -> available). (bug #28725) X-Git-Tag: php-4.3.11RC1~262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efbaf4327a233b63582c52f46d4b24e539ffecc0;p=php MFH: Fix typo (avaliable -> available). (bug #28725) --- diff --git a/ChangeLog b/ChangeLog index f9cf05f815..a1a23645c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -148,9 +148,9 @@ * Changed all argument parsing to use the new zend_parse_parameters() * If a function is unavailable due to lack of support for a certain feature, - do not make the function avaliable, rather then making it print an + do not make the function available, rather then making it print an error - saying that the functionality offered by the function is not avaliable. + saying that the functionality offered by the function is not available. * Lots of WS fixes all over the file. * Change strcpy() to strncpy() to prevent possible buffer overflows. Fixed a bug in ncurses_pair_content(), 1st parameter was wrong. @@ -1384,7 +1384,7 @@ 2002-12-11 Ilia Alshanetsky * ext/exif/exif.c: - decode variable is only used when mbstring is avaliable. + decode variable is only used when mbstring is available. * ext/openssl/openssl.c: ZTS fix. @@ -2193,7 +2193,7 @@ 2002-12-04 Ilia Alshanetsky * ext/gd/gd.c: - MFH (build fix, when xpm support is not avaliable). + MFH (build fix, when xpm support is not available). 2002-12-04 Rasmus Lerdorf @@ -5864,7 +5864,7 @@ Compile warning fix. * ext/mbstring/tests/overload.phpt: - Added a skip condition for when mail() function is not avaliable. + Added a skip condition for when mail() function is not available. * ext/mbstring/tests/mb_send_mail05.phpt ext/mbstring/tests/mb_send_mail06.phpt: @@ -6758,7 +6758,7 @@ ext/standard/tests/strings/htmlentities07.phpt ext/standard/tests/strings/htmlentities08.phpt ext/standard/tests/strings/htmlentities09.phpt: - Added skip conditions in the event the required charset is not avaliabled. + Added skip conditions in the event the required charset is not availabled. Removed old (commented out) module loading code. * run-tests.php: @@ -6766,11 +6766,11 @@ * ext/pspell/tests/01pspell_basic.phpt: Added a skip condition if the English dictionary needed for the test is not - avaliable. + available. * ext/pcntl/tests/001.phpt: Added a skip condition in the event posix_kill(), which is used by the test - is not avaliable. + is not available. * ext/exif/exif.c: @@ -6903,7 +6903,7 @@ main/safe_mode.c: Instead of checking whether realpath exists based on OS. Use the - HAVE_REALPATH define, which is set if realpath() is avaliable. This patch + HAVE_REALPATH define, which is set if realpath() is available. This patch also resolves bug #18868. 2002-11-06 Sascha Schumann @@ -9030,7 +9030,7 @@ * ext/standard/tests/strings/strtoupper.phpt: Added 'skip logic' to the test on platforms where the locale required by - this test is not avaliable. + this test is not available. 2002-10-23 Melvyn Sopacua diff --git a/ext/gd/tests/gif2gd.phpt b/ext/gd/tests/gif2gd.phpt index 3eee211871..75291777d8 100644 --- a/ext/gd/tests/gif2gd.phpt +++ b/ext/gd/tests/gif2gd.phpt @@ -3,7 +3,7 @@ gif --> gd1/gd2 conversion test --SKIPIF-- jpeg conversion test --SKIPIF-- png conversion test --SKIPIF-- png conversion test --SKIPIF-- gd1/gd2 conversion test --SKIPIF-- gd1/gd2 conversion test --SKIPIF-- gd1/gd2 conversion test --SKIPIF-- jpeg conversion test --SKIPIF-- png conversion test --SKIPIF-- --INI-- diff --git a/ext/mbstring/tests/mb_send_mail06.phpt b/ext/mbstring/tests/mb_send_mail06.phpt index 92087f9649..2e8c151284 100644 --- a/ext/mbstring/tests/mb_send_mail06.phpt +++ b/ext/mbstring/tests/mb_send_mail06.phpt @@ -6,7 +6,7 @@ if (@mb_send_mail() === false || !mb_language("Traditional Chinese")) { die("skip mb_send_mail() not available"); } if (!@mb_internal_encoding('BIG5')) { - die("skip BIG5 encoding is not avaliable on this platform"); + die("skip BIG5 encoding is not available on this platform"); } ?> --INI-- diff --git a/ext/mbstring/tests/mb_send_mail07.phpt b/ext/mbstring/tests/mb_send_mail07.phpt index ae429f3ced..21fdaa597c 100644 --- a/ext/mbstring/tests/mb_send_mail07.phpt +++ b/ext/mbstring/tests/mb_send_mail07.phpt @@ -6,7 +6,7 @@ if (@mb_send_mail() === false || !mb_language("Korean")) { die("skip mb_send_mail() not available"); } if (!@mb_internal_encoding('ISO-2022-KR')) { - die("skip ISO-2022-KR encoding is not avaliable on this platform"); + die("skip ISO-2022-KR encoding is not available on this platform"); } ?> --INI-- diff --git a/ext/mhash/tests/skip.inc b/ext/mhash/tests/skip.inc index 81912d21c8..ff60bfff27 100644 --- a/ext/mhash/tests/skip.inc +++ b/ext/mhash/tests/skip.inc @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index 029e37d723..3be2262f57 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -314,7 +314,7 @@ PHP_FUNCTION(mime_content_type) } if (conf->magic == (struct magic *)-1) { - php_error(E_ERROR, MODNAME " could not be initialized, magic file %s is not avaliable", conf->magicfile); + php_error(E_ERROR, MODNAME " could not be initialized, magic file %s is not available", conf->magicfile); RETURN_FALSE; } diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt index 27aff8bbe4..642525976a 100644 --- a/ext/pcntl/tests/001.phpt +++ b/ext/pcntl/tests/001.phpt @@ -3,7 +3,7 @@ Test pcntl wait functionality --SKIPIF-- --POST-- --GET-- diff --git a/ext/pspell/tests/01pspell_basic.phpt b/ext/pspell/tests/01pspell_basic.phpt index 5a25e35be8..fd97bcf62d 100644 --- a/ext/pspell/tests/01pspell_basic.phpt +++ b/ext/pspell/tests/01pspell_basic.phpt @@ -4,7 +4,7 @@ pspell basic tests (warning: may fail with pspell/aspell < GNU Aspell 0.50.3) --POST-- diff --git a/ext/shmop/tests/001.phpt b/ext/shmop/tests/001.phpt index 1a1b926308..fc293c82ec 100644 --- a/ext/shmop/tests/001.phpt +++ b/ext/shmop/tests/001.phpt @@ -3,7 +3,7 @@ shmop extension test --SKIPIF-- --FILE-- diff --git a/ext/standard/tests/image/getimagesize_swc.phpt b/ext/standard/tests/image/getimagesize_swc.phpt index b9b83f4373..f8c74498a4 100644 --- a/ext/standard/tests/image/getimagesize_swc.phpt +++ b/ext/standard/tests/image/getimagesize_swc.phpt @@ -3,7 +3,7 @@ GetImageSize() for compressed swf files --SKIPIF-- --FILE-- diff --git a/pear/CMD.php b/pear/CMD.php index 7e82ff24b5..2bf82def35 100755 --- a/pear/CMD.php +++ b/pear/CMD.php @@ -231,7 +231,7 @@ class Cmd extends PEAR /** * Errorhandler. If option CMD_VERBOSE is true, * the error is printed to stdout, otherwise it - * is avaliable in lastError + * is available in lastError * * @return bool always returns true * diff --git a/run-tests.php b/run-tests.php index ca608c3a76..0cac9cfa09 100755 --- a/run-tests.php +++ b/run-tests.php @@ -37,7 +37,7 @@ */ -/* Sanity check to ensure that pcre extension needed by this script is avaliable. +/* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will * not run without it. */ @@ -568,7 +568,7 @@ TEST $file } fclose($fp); - /* For GET/POST tests, check if cgi sapi is avaliable and if it is, use it. */ + /* For GET/POST tests, check if cgi sapi is available and if it is, use it. */ if ((!empty($section_text['GET']) || !empty($section_text['POST']))) { if (file_exists("./sapi/cgi/php")) { $old_php = $php; diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 62f476f35d..cc4390bf12 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -140,7 +140,7 @@ php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) /* * This loop is needed because ap_get_brigade() can return us partial data * which would cause premature termination of request read. Therefor we - * need to make sure that if data is avaliable we fill the buffer completely. + * need to make sure that if data is available we fill the buffer completely. */ while (ap_get_brigade(r->input_filters, brigade, AP_MODE_READBYTES, APR_BLOCK_READ, len) == APR_SUCCESS) { diff --git a/tests/lang/overload_leak.phpt b/tests/lang/overload_leak.phpt index 4772ddec8a..2385e46973 100644 --- a/tests/lang/overload_leak.phpt +++ b/tests/lang/overload_leak.phpt @@ -2,7 +2,7 @@ Memory leaks occur within an overloaded method that returns a reference --SKIPIF-- --FILE--