]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Wed, 17 Jan 2007 08:25:32 +0000 (08:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 17 Jan 2007 08:25:32 +0000 (08:25 +0000)
ext/standard/formatted_print.c
ext/sysvmsg/sysvmsg.c

index 915f4979d054b2d9e666bc3e6c12cfd0c021ba96..ce8909473eb4f4323d0eec053856ce4f268c27d9 100644 (file)
@@ -436,7 +436,7 @@ php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC
                                        if (argnum <= 0) {
                                                efree(result);
                                                efree(args);
-                                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument number must be greater then zero.");
+                                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument number must be greater than zero.");
                                                return NULL;
                                        }
 
@@ -478,7 +478,7 @@ php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC
                                        if ((width = php_sprintf_getnumber(format, &inpos)) < 0) {
                                                efree(result);
                                                efree(args);
-                                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Width must be greater then zero and less then %d.", INT_MAX);
+                                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Width must be greater than zero and less than %d.", INT_MAX);
                                                return NULL;
                                        }
                                        adjusting |= ADJ_WIDTH;
@@ -495,7 +495,7 @@ php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC
                                                if ((precision = php_sprintf_getnumber(format, &inpos)) < 0) {
                                                        efree(result);
                                                        efree(args);
-                                                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Precision must be greater then zero and less then %d.", INT_MAX);
+                                                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Precision must be greater than zero and less than %d.", INT_MAX);
                                                        return NULL;
                                                }
                                                adjusting |= ADJ_PRECISION;
index 010638c85ab780ef1cc24d63a641e57c0a1174ba..94b8e65fbc174edd3dc1265ce5d3f69759546ae2 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "php.h"
 #include "php_globals.h"
-#include "php_ini.h"
 #include "ext/standard/info.h"
 #include "php_sysvmsg.h"
 #include "ext/standard/php_var.h"
@@ -100,16 +99,6 @@ ZEND_GET_MODULE(sysvmsg)
 # endif
 #endif
 
-/* {{{ PHP_INI
- */
-/* Remove comments and fill if you need to have entries in php.ini
-PHP_INI_BEGIN()
-       STD_PHP_INI_ENTRY("sysvmsg.value",  "42",     PHP_INI_ALL, OnUpdateLong,    global_value,  zend_sysvmsg_globals, sysvmsg_globals)
-       STD_PHP_INI_ENTRY("sysvmsg.string", "foobar", PHP_INI_ALL, OnUpdateString, global_string, zend_sysvmsg_globals, sysvmsg_globals)
-PHP_INI_END()
-*/
-/* }}} */
-
 static void sysvmsg_release(zend_rsrc_list_entry *rsrc TSRMLS_DC)
 {
        sysvmsg_queue_t * mq = (sysvmsg_queue_t *) rsrc->ptr;
@@ -288,7 +277,7 @@ PHP_FUNCTION(msg_receive)
        }
 
        if (maxsize <= 0) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "maximum size of the message has to be greater then zero");
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "maximum size of the message has to be greater than zero");
                return;
        }