[PHP-CVS] com php-src: Cleanup Safe Mode related comment in SG(request_info): main/SAPI.h

2012-03-31 Thread David Soria Parra
Commit:ff8be9845f14a8156e7551033c2e98dad459f6fd
Author:reeze reeze@gmail.com Sat, 31 Mar 2012 01:04:38 +0800
Committer: David Soria Parra d...@php.net  Sat, 31 Mar 2012 09:34:08 +0200
Parents:   132d7113ead1cd7e8506075fb5528cdfac09b304
Branches:  PHP-5.3 PHP-5.4 master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=ff8be9845f14a8156e7551033c2e98dad459f6fd

Log:
Cleanup Safe Mode related comment in SG(request_info)

Changed paths:
  M  main/SAPI.h


Diff:
ff8be9845f14a8156e7551033c2e98dad459f6fd
diff --git a/main/SAPI.h b/main/SAPI.h
index 61449f9..9a063d3 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -105,7 +105,6 @@ typedef struct {
/* this is necessary for the CGI SAPI module */
char *argv0;
 
-   /* this is necessary for Safe Mode */
char *current_user;
int current_user_length;


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



[PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: main/SAPI.h

2012-03-31 Thread David Soria Parra
Commit:3bf53aa911e1e2128a11aee45c126000635de006
Author:David Soria Parra d...@php.net Sat, 31 Mar 2012 09:34:25 
+0200
Parents:   aa774a51d5c45b98103e0f67914d4c0b152e80ae 
ff8be9845f14a8156e7551033c2e98dad459f6fd
Branches:  PHP-5.4 master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=3bf53aa911e1e2128a11aee45c126000635de006

Log:
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Cleanup Safe Mode related comment in SG(request_info)

Changed paths:
  MM  main/SAPI.h


Diff:
3bf53aa911e1e2128a11aee45c126000635de006
diff --combined main/SAPI.h
index f868f85,9a063d3..8f2536b
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@@ -105,7 -105,6 +105,6 @@@ typedef struct 
/* this is necessary for the CGI SAPI module */
char *argv0;
  
-   /* this is necessary for Safe Mode */
char *current_user;
int current_user_length;
  
@@@ -129,11 -128,8 +128,11 @@@ typedef struct _sapi_globals_struct 
long post_max_size;
int options;
zend_bool sapi_started;
 -  time_t global_request_time;
 +  double global_request_time;
HashTable known_post_content_types;
 +  zval *callback_func;
 +  zend_fcall_info_cache fci_cache;
 +  zend_bool callback_run;
  } sapi_globals_struct;
  
  
@@@ -193,9 -189,9 +192,9 @@@ SAPI_API void sapi_handle_post(void *ar
  SAPI_API int sapi_register_post_entries(sapi_post_entry *post_entry 
TSRMLS_DC);
  SAPI_API int sapi_register_post_entry(sapi_post_entry *post_entry TSRMLS_DC);
  SAPI_API void sapi_unregister_post_entry(sapi_post_entry *post_entry 
TSRMLS_DC);
 -SAPI_API int sapi_register_default_post_reader(void 
(*default_post_reader)(TSRMLS_D));
 -SAPI_API int sapi_register_treat_data(void (*treat_data)(int arg, char *str, 
zval *destArray TSRMLS_DC));
 -SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, 
char *var, char **val, unsigned int val_len, unsigned int *new_val_len 
TSRMLS_DC), unsigned int (*input_filter_init)(TSRMLS_D));
 +SAPI_API int sapi_register_default_post_reader(void 
(*default_post_reader)(TSRMLS_D) TSRMLS_DC);
 +SAPI_API int sapi_register_treat_data(void (*treat_data)(int arg, char *str, 
zval *destArray TSRMLS_DC) TSRMLS_DC);
 +SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, 
char *var, char **val, unsigned int val_len, unsigned int *new_val_len 
TSRMLS_DC), unsigned int (*input_filter_init)(TSRMLS_D) TSRMLS_DC);
  
  SAPI_API int sapi_flush(TSRMLS_D);
  SAPI_API struct stat *sapi_get_stat(TSRMLS_D);
@@@ -211,7 -207,7 +210,7 @@@ SAPI_API int sapi_force_http_10(TSRMLS_
  
  SAPI_API int sapi_get_target_uid(uid_t * TSRMLS_DC);
  SAPI_API int sapi_get_target_gid(gid_t * TSRMLS_DC);
 -SAPI_API time_t sapi_get_request_time(TSRMLS_D);
 +SAPI_API double sapi_get_request_time(TSRMLS_D);
  SAPI_API void sapi_terminate_process(TSRMLS_D);
  END_EXTERN_C()
  
@@@ -240,8 -236,8 +239,8 @@@ struct _sapi_module_struct 
char *(*read_cookies)(TSRMLS_D);
  
void (*register_server_variables)(zval *track_vars_array TSRMLS_DC);
 -  void (*log_message)(char *message);
 -  time_t (*get_request_time)(TSRMLS_D);
 +  void (*log_message)(char *message TSRMLS_DC);
 +  double (*get_request_time)(TSRMLS_D);
void (*terminate_process)(TSRMLS_D);
  
char *php_ini_path_override;
@@@ -254,7 -250,6 +253,7 @@@
char *executable_location;
  
int php_ini_ignore;
 +  int php_ini_ignore_cwd; /* don't look for php.ini in the current 
directory */
  
int (*get_fd)(int *fd TSRMLS_DC);


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



[PHP-CVS] com php-src: making the test fail for testing jenkins report mail. I will revert this soon.: tests/basic/rfc1867_garbled_mime_headers.phpt

2012-03-31 Thread Ferenc Kovacs
Commit:b8fe28f4550f560b010f98675608c7188a2c1fa4
Author:Ferenc Kovacs tyr...@gmail.com Sat, 31 Mar 2012 11:22:16 
+0200
Parents:   cae2556462f9a2b8b123d295d614435639534c55
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=b8fe28f4550f560b010f98675608c7188a2c1fa4

Log:
making the test fail for testing jenkins report mail. I will revert this soon.

Changed paths:
  M  tests/basic/rfc1867_garbled_mime_headers.phpt


Diff:
b8fe28f4550f560b010f98675608c7188a2c1fa4
diff --git a/tests/basic/rfc1867_garbled_mime_headers.phpt 
b/tests/basic/rfc1867_garbled_mime_headers.phpt
index 4010f22..2dd9976 100644
--- a/tests/basic/rfc1867_garbled_mime_headers.phpt
+++ b/tests/basic/rfc1867_garbled_mime_headers.phpt
@@ -23,3 +23,4 @@ array(0) {
 }
 array(0) {
 }
+foobar


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



[PHP-CVS] com php-src: Revert making the test fail for testing jenkins report mail. I will revert this soon.: tests/basic/rfc1867_garbled_mime_headers.phpt

2012-03-31 Thread Ferenc Kovacs
Commit:15a98ece9fc43578fe1825d3c5ccafa665f63b48
Author:Ferenc Kovacs tyr...@gmail.com Sat, 31 Mar 2012 11:23:26 
+0200
Parents:   b8fe28f4550f560b010f98675608c7188a2c1fa4
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=15a98ece9fc43578fe1825d3c5ccafa665f63b48

Log:
Revert making the test fail for testing jenkins report mail. I will revert 
this soon.

This reverts commit b8fe28f4550f560b010f98675608c7188a2c1fa4.

Changed paths:
  M  tests/basic/rfc1867_garbled_mime_headers.phpt


Diff:
15a98ece9fc43578fe1825d3c5ccafa665f63b48
diff --git a/tests/basic/rfc1867_garbled_mime_headers.phpt 
b/tests/basic/rfc1867_garbled_mime_headers.phpt
index 2dd9976..4010f22 100644
--- a/tests/basic/rfc1867_garbled_mime_headers.phpt
+++ b/tests/basic/rfc1867_garbled_mime_headers.phpt
@@ -23,4 +23,3 @@ array(0) {
 }
 array(0) {
 }
-foobar


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



[PHP-CVS] com karma: Omitting uninteresting hunks in merge commit diff: lib/Git/PostReceiveHook.php

2012-03-31 Thread Alexander Moskaliov
Commit:410216d61c4f23d552e87741161844685e640b87
Author:Alexander Moskaliov ir...@php.net Sat, 31 Mar 2012 
21:41:35 +0400
Parents:   fd555bb040c8ea3d3ddf719315194bdf66e30a77
Branches:  master

Link:   
http://git.php.net/?p=karma.git;a=commitdiff;h=410216d61c4f23d552e87741161844685e640b87

Log:
Omitting uninteresting hunks in merge commit diff

Changed paths:
  M  lib/Git/PostReceiveHook.php


Diff:
410216d61c4f23d552e87741161844685e640b87
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index a7436bd..f524fa6 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -515,7 +515,7 @@ class PostReceiveHook extends ReceiveHook
 
 $info = $this-getCommitInfo($revision);
 
-$diff =  \Git::gitExec('diff-tree -c -p %s', 
escapeshellarg($revision));
+$diff =  \Git::gitExec('diff-tree --cc -r --no-commit-id %s', 
escapeshellarg($revision));
 
 $mail = new \Mail();
 $mail-setSubject($this-emailPrefix . 'com ' . 
$this-getRepositoryShortName() . ': ' . $info['subject'] . ': '. implode(' ', 
array_keys($paths)));


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