Skip to content

Commit 4865e59

Browse files
committed
Merge branch 'PHP-5.6' into test
* PHP-5.6: fixed incompatible pointer in phpdbg on win64 Fixed php#18 Errors not displaying in some configurations Fixed php#18 Errors not displaying in some configurations update credits headers credits file for phpdbg
2 parents cfe3a0f + 00c7b97 commit 4865e59

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

ext/standard/credits_ext.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CREDIT_LINE("enchant", "Pierre-Alain Joye, Ilia Alshanetsky");
2424
CREDIT_LINE("ereg", "Rasmus Lerdorf, Jim Winstead, Jaakko Hyvätti");
2525
CREDIT_LINE("EXIF", "Rasmus Lerdorf, Marcus Boerger");
2626
CREDIT_LINE("fileinfo", "Ilia Alshanetsky, Pierre Alain Joye, Scott MacVicar, Derick Rethans");
27-
CREDIT_LINE("Firebird/InterBase driver for PDO", "Ard Biesheuvel");
27+
CREDIT_LINE("Firebird driver for PDO", "Ard Biesheuvel");
2828
CREDIT_LINE("FTP", "Stefan Esser, Andrew Skalski");
2929
CREDIT_LINE("GD imaging", "Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger");
3030
CREDIT_LINE("GetText", "Alex Plotnick");
@@ -42,8 +42,8 @@ CREDIT_LINE("MS SQL", "Frank M. Kromann");
4242
CREDIT_LINE("Multibyte String Functions", "Tsukada Takuya, Rui Hirokawa");
4343
CREDIT_LINE("MySQL driver for PDO", "George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter");
4444
CREDIT_LINE("MySQLi", "Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel");
45-
CREDIT_LINE("MySQLnd", "Andrey Hristov, Ulf Wendel, Georg Richter");
46-
CREDIT_LINE("MySQL", "Zeev Suraski, Zak Greant, Georg Richter");
45+
CREDIT_LINE("MySQLnd", "Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter");
46+
CREDIT_LINE("MySQL", "Zeev Suraski, Zak Greant, Georg Richter, Andrey Hristov");
4747
CREDIT_LINE("OCI8", "Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong, Christopher Jones, Oracle Corporation");
4848
CREDIT_LINE("ODBC driver for PDO", "Wez Furlong");
4949
CREDIT_LINE("ODBC", "Stig Bakken, Andreas Karajannis, Frank M. Kromann, Daniel R. Kalowsky");
@@ -82,5 +82,5 @@ CREDIT_LINE("xmlrpc", "Dan Libby");
8282
CREDIT_LINE("XML", "Stig Bakken, Thies C. Arntzen, Sterling Hughes");
8383
CREDIT_LINE("XMLWriter", "Rob Richards, Pierre-Alain Joye");
8484
CREDIT_LINE("XSL", "Christian Stocker, Rob Richards");
85-
CREDIT_LINE("Zip", "Pierre-Alain Joye");
85+
CREDIT_LINE("Zip", "Pierre-Alain Joye, Remi Collet");
8686
CREDIT_LINE("Zlib", "Rasmus Lerdorf, Stefan Roehrich, Zeev Suraski, Jade Nicoletti, Michael Wallner");

ext/standard/credits_sapi.h

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ CREDIT_LINE("FastCGI Process Manager", "Andrei Nigmatulin, dreamcat4, Antony Dov
2424
CREDIT_LINE("ISAPI", "Andi Gutmans, Zeev Suraski");
2525
CREDIT_LINE("litespeed", "George Wang");
2626
CREDIT_LINE("NSAPI", "Jayakumar Muthukumarasamy, Uwe Schindler");
27+
CREDIT_LINE("phpdbg", "Felipe Pena, Joe Watkins, Bob Weinand");
2728
CREDIT_LINE("phttpd", "Thies C. Arntzen");
2829
CREDIT_LINE("pi3web", "Holger Zimmermann");
2930
CREDIT_LINE("Sendmail Milter", "Harald Radi");

sapi/phpdbg/phpdbg.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "phpdbg_prompt.h"
2626
#include "phpdbg_bp.h"
2727
#include "phpdbg_break.h"
28+
#include "phpdbg_list.h"
2829
#include "phpdbg_utils.h"
2930
#include "phpdbg_set.h"
3031

@@ -609,7 +610,8 @@ const char phpdbg_ini_hardcoded[] =
609610
"display_errors=Off\n"
610611
"log_errors=On\n"
611612
"max_execution_time=0\n"
612-
"max_input_time=-1\n\0";
613+
"max_input_time=-1\n"
614+
"error_log=\n\0";
613615

614616
/* overwriteable ini defaults must be set in phpdbg_ini_defaults() */
615617
#define INI_DEFAULT(name, value) \

sapi/phpdbg/phpdbg_utils.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,9 @@ PHPDBG_API int phpdbg_rlog(FILE *fp, const char *fmt, ...) { /* {{{ */
290290
if (gettimeofday(&tp, NULL) == SUCCESS) {
291291
char friendly[100];
292292
char *format = NULL, *buffer = NULL;
293+
const time_t tt = tp.tv_sec;
293294

294-
strftime(friendly, 100, "%a %b %d %T.%%04d %Y", localtime(&tp.tv_sec));
295+
strftime(friendly, 100, "%a %b %d %T.%%04d %Y", localtime(&tt));
295296
asprintf(
296297
&buffer, friendly, tp.tv_usec/1000);
297298
asprintf(

0 commit comments

Comments
 (0)