Re: [PHP4BETA] cvs: /php4/ext/pdf pdf.c...

From: Date: Fri, 07 Apr 2000 18:17:33 +0000
Subject: Re: [PHP4BETA] cvs: /php4/ext/pdf pdf.c...
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-13312@lists.php.net to get a copy of this message
In article <cvscmv955055265@cvsserver>, cmv@privateworld.com (Colin Viebrock) writes: > cmv Thu Apr 6 14:07:45 2000 EDT > > Modified files: [...] > /php4/ext/pdf pdf.c [...] > Index: php4/ext/pdf/pdf.c > diff -u php4/ext/pdf/pdf.c:1.32 php4/ext/pdf/pdf.c:1.33 > --- php4/ext/pdf/pdf.c:1.32 Tue Mar 28 08:45:04 2000 > +++ php4/ext/pdf/pdf.c Thu Apr 6 14:07:42 2000 [...] > +PHP_MINFO_FUNCTION(pdf) > +{ > + char tmp[32]; > + > + snprintf(tmp, 31, "%d.%02d", PDF_get_majorversion(), PDF_get_minorversion() ); > + tmp[32]=0; I guess, "tmp[31]=0;" would make more sense :-] And what about adding the following to the gd.c minfo-function? #ifdef HAVE_GD_JPG php_info_print_table_row(2, "JPG Support", "enabled"); #endif Cheers Oliver -- \\\/// +--------------------+ \\// +-----------------------------+ | Oliver Billmann | ( .. ) | oliver@billix.franken.de | +--------------------+-ooO-(__)-Ooo-+-----------------------------+

« previous php.version4 (#13312) next »