tony2001                Fri Jul 14 20:45:37 2006 UTC

  Modified files:              
    /php-src/ext/standard       file.c streamsfuncs.c 
  Log:
  MFB: rephrase the error message (fixes #38106)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.445&r2=1.446&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.445 php-src/ext/standard/file.c:1.446
--- php-src/ext/standard/file.c:1.445   Fri Jul 14 19:16:23 2006
+++ php-src/ext/standard/file.c Fri Jul 14 20:45:37 2006
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: file.c,v 1.445 2006/07/14 19:16:23 pollita Exp $ */
+/* $Id: file.c,v 1.446 2006/07/14 20:45:37 tony2001 Exp $ */
 
 /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
 
@@ -545,7 +545,7 @@
        }
 
        if (offset > 0 && php_stream_seek(stream, offset, SEEK_SET) < 0) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to 
%ld position in the stream.", offset);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to 
position %ld in the stream.", offset);
                RETURN_FALSE;
        }
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.80&r2=1.81&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.80 
php-src/ext/standard/streamsfuncs.c:1.81
--- php-src/ext/standard/streamsfuncs.c:1.80    Mon Jun 26 11:31:19 2006
+++ php-src/ext/standard/streamsfuncs.c Fri Jul 14 20:45:37 2006
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.80 2006/06/26 11:31:19 bjori Exp $ */
+/* $Id: streamsfuncs.c,v 1.81 2006/07/14 20:45:37 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -397,7 +397,7 @@
        php_stream_from_zval(stream, &zsrc);
 
        if (pos > 0 && php_stream_seek(stream, pos, SEEK_SET) < 0) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to 
%ld position in the stream.", pos);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to 
position %ld in the stream.", pos);
                RETURN_FALSE;
        }
 
@@ -427,7 +427,7 @@
        php_stream_from_zval(dest, &zdest);
 
        if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to 
%ld position in the stream.", pos);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to 
position %ld in the stream.", pos);
                RETURN_FALSE;
        }
 

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

Reply via email to