tony2001                Mon Apr  3 09:14:50 2006 UTC

  Modified files:              
    /php-src/ext/ftp    ftp.c 
    /php-src/ext/mhash  mhash.c 
    /php-src/ext/soap   php_encoding.c 
    /php-src/ext/standard       streamsfuncs.c string.c basic_functions.c 
  Log:
  fix spelling in error messages:
  greater/less thEn -> greater/less thAn
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/ftp/ftp.c?r1=1.115&r2=1.116&diff_format=u
Index: php-src/ext/ftp/ftp.c
diff -u php-src/ext/ftp/ftp.c:1.115 php-src/ext/ftp/ftp.c:1.116
--- php-src/ext/ftp/ftp.c:1.115 Sun Jan  1 13:09:50 2006
+++ php-src/ext/ftp/ftp.c       Mon Apr  3 09:14:50 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: ftp.c,v 1.115 2006/01/01 13:09:50 sniper Exp $ */
+/* $Id: ftp.c,v 1.116 2006/04/03 09:14:50 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -810,7 +810,7 @@
 
        if (resumepos > 0) {
                if (resumepos > 2147483647) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files greater then 2147483647 bytes.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files greater than 2147483647 bytes.");
                        goto bail;
                }
                sprintf(arg, "%u", resumepos);
@@ -907,7 +907,7 @@
 
        if (startpos > 0) {
                if (startpos > 2147483647) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files with a size greater then 2147483647 bytes.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files with a size greater than 2147483647 bytes.");
                        goto bail;
                }
                sprintf(arg, "%u", startpos);
@@ -1706,7 +1706,7 @@
                 * since php is 32 bit by design, we bail out with warning
                 */
                if (resumepos > 2147483647) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files greater then 2147483648 bytes.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files greater than 2147483648 bytes.");
                        goto bail;
                }
                sprintf(arg, "%u", resumepos);
@@ -1824,7 +1824,7 @@
        }
        if (startpos > 0) {
                if (startpos > 2147483647) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files with a size greater then 2147483647 bytes.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "PHP cannot 
handle files with a size greater than 2147483647 bytes.");
                        goto bail;
                }
                sprintf(arg, "%u", startpos);
http://cvs.php.net/viewcvs.cgi/php-src/ext/mhash/mhash.c?r1=1.50&r2=1.51&diff_format=u
Index: php-src/ext/mhash/mhash.c
diff -u php-src/ext/mhash/mhash.c:1.50 php-src/ext/mhash/mhash.c:1.51
--- php-src/ext/mhash/mhash.c:1.50      Sun Jan  1 13:09:51 2006
+++ php-src/ext/mhash/mhash.c   Mon Apr  3 09:14:50 2006
@@ -16,7 +16,7 @@
    |          Nikos Mavroyanopoulos <[EMAIL PROTECTED]> (HMAC, KEYGEN)       |
    +----------------------------------------------------------------------+
  */
-/* $Id: mhash.c,v 1.50 2006/01/01 13:09:51 sniper Exp $ */
+/* $Id: mhash.c,v 1.51 2006/04/03 09:14:50 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -205,7 +205,7 @@
                WRONG_PARAM_COUNT;
        }
        if (bytes <= 0){
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "the byte parameter 
must be greater then 0");
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "the byte parameter 
must be greater than 0");
                RETURN_FALSE;
        }
        
http://cvs.php.net/viewcvs.cgi/php-src/ext/soap/php_encoding.c?r1=1.122&r2=1.123&diff_format=u
Index: php-src/ext/soap/php_encoding.c
diff -u php-src/ext/soap/php_encoding.c:1.122 
php-src/ext/soap/php_encoding.c:1.123
--- php-src/ext/soap/php_encoding.c:1.122       Fri Mar  3 09:20:51 2006
+++ php-src/ext/soap/php_encoding.c     Mon Apr  3 09:14:50 2006
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: php_encoding.c,v 1.122 2006/03/03 09:20:51 dmitry Exp $ */
+/* $Id: php_encoding.c,v 1.123 2006/04/03 09:14:50 tony2001 Exp $ */
 
 #include <time.h>
 
@@ -2879,11 +2879,11 @@
                }
                if (type->restrictions->minLength &&
                    strlen(data->children->content) < 
type->restrictions->minLength->value) {
-                 soap_error0(E_WARNING, "Encoding: Restriction: length less 
then 'minLength'");
+                 soap_error0(E_WARNING, "Encoding: Restriction: length less 
than 'minLength'");
                }
                if (type->restrictions->maxLength &&
                    strlen(data->children->content) > 
type->restrictions->maxLength->value) {
-                 soap_error0(E_WARNING, "Encoding: Restriction: length greater 
then 'maxLength'");
+                 soap_error0(E_WARNING, "Encoding: Restriction: length greater 
than 'maxLength'");
                }
                if (type->restrictions->length &&
                    strlen(data->children->content) != 
type->restrictions->length->value) {
@@ -2942,11 +2942,11 @@
                        }
                        if (type->restrictions->minLength &&
                            Z_STRLEN_P(data) < 
type->restrictions->minLength->value) {
-                       soap_error0(E_WARNING, "Encoding: Restriction: length 
less then 'minLength'");
+                       soap_error0(E_WARNING, "Encoding: Restriction: length 
less than 'minLength'");
                        }
                        if (type->restrictions->maxLength &&
                            Z_STRLEN_P(data) > 
type->restrictions->maxLength->value) {
-                       soap_error0(E_WARNING, "Encoding: Restriction: length 
greater then 'maxLength'");
+                       soap_error0(E_WARNING, "Encoding: Restriction: length 
greater than 'maxLength'");
                        }
                        if (type->restrictions->length &&
                            Z_STRLEN_P(data) != 
type->restrictions->length->value) {
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.73&r2=1.74&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.73 
php-src/ext/standard/streamsfuncs.c:1.74
--- php-src/ext/standard/streamsfuncs.c:1.73    Wed Mar 29 01:20:42 2006
+++ php-src/ext/standard/streamsfuncs.c Mon Apr  3 09:14:50 2006
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.73 2006/03/29 01:20:42 pollita Exp $ */
+/* $Id: streamsfuncs.c,v 1.74 2006/04/03 09:14:50 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -758,10 +758,10 @@
                convert_to_long(sec);
 
                if (sec < 0) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "The 
seconds parameter must be greater then 0.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "The 
seconds parameter must be greater than 0.");
                        RETURN_FALSE;
                } else if (usec < 0) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "The 
microseconds parameter must be greater then 0.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "The 
microseconds parameter must be greater than 0.");
                        RETURN_FALSE;
                }
 
@@ -1266,7 +1266,7 @@
        }
 
        if (max_length < 0) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "The maximum 
allowed length must be greater then or equal to zero.");
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "The maximum 
allowed length must be greater than or equal to zero.");
                RETURN_FALSE;
        }
        if (!max_length) {
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.537&r2=1.538&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.537 php-src/ext/standard/string.c:1.538
--- php-src/ext/standard/string.c:1.537 Wed Mar 29 05:56:06 2006
+++ php-src/ext/standard/string.c       Mon Apr  3 09:14:50 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.537 2006/03/29 05:56:06 andrei Exp $ */
+/* $Id: string.c,v 1.538 2006/04/03 09:14:50 tony2001 Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -6310,7 +6310,7 @@
 
        if (ac > 2) {
                if (offset < 0) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset 
should be greater then or equal to 0.");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset 
should be greater than or equal to 0.");
                        RETURN_FALSE;
                }
                if (haystack_type == IS_UNICODE) {
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/basic_functions.c?r1=1.767&r2=1.768&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.767 
php-src/ext/standard/basic_functions.c:1.768
--- php-src/ext/standard/basic_functions.c:1.767        Wed Mar 29 01:20:42 2006
+++ php-src/ext/standard/basic_functions.c      Mon Apr  3 09:14:50 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: basic_functions.c,v 1.767 2006/03/29 01:20:42 pollita Exp $ */
+/* $Id: basic_functions.c,v 1.768 2006/04/03 09:14:50 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -1766,7 +1766,7 @@
 
        c_ts = (double)(d_ts - tm.tv_sec - tm.tv_usec / 1000000.00);
        if (c_ts < 0) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sleep until to 
time is less then current time.");
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sleep until to 
time is less than current time.");
                RETURN_FALSE;
        }
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to