Re: cvs: php-src /main spprintf.c

From: Date: Fri, 16 Apr 2004 03:10:01 +0000
Subject: Re: cvs: php-src /main spprintf.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27085@lists.php.net to get a copy of this message
Shouldn't you MFH this too.. --Jani On Thu, 15 Apr 2004, Marcus Boerger wrote: >helly Thu Apr 15 19:04:49 2004 EDT > > Modified files: > /php-src/main spprintf.c > Log: > Bugfix #28012 spprintf() output inconsistent for %p > >http://cvs.php.net/diff.php/php-src/main/spprintf.c?r1=1.23&r2=1.24&ty=u >Index: php-src/main/spprintf.c >diff -u php-src/main/spprintf.c:1.23 php-src/main/spprintf.c:1.24 >--- php-src/main/spprintf.c:1.23 Mon Mar 8 18:11:44 2004 >+++ php-src/main/spprintf.c Thu Apr 15 19:04:49 2004 >@@ -16,7 +16,7 @@ > +----------------------------------------------------------------------+ > */ > >-/* $Id: spprintf.c,v 1.23 2004/03/08 23:11:44 abies Exp $ */ >+/* $Id: spprintf.c,v 1.24 2004/04/15 23:04:49 helly Exp $ */ > > /* This is the spprintf implementation. > * It has emerged from apache snprintf. See original header: >@@ -646,7 +646,7 @@ > ui_num = (u_wide_int)((size_t) va_arg(ap, char *)); > s = ap_php_conv_p2(ui_num, 4, 'x', > &num_buf[NUM_BUF_SIZE], &s_len); >- if (i_num != 0) { >+ if (ui_num != 0) { > *--s = 'x'; > *--s = '0'; > s_len += 2; > >

« previous php.cvs (#27085) next »