]> git.pld-linux.org Git - packages/php.git/blob - php-5.3.7-bug-52496.patch
move php.1 manual to -program (link to actual php-cli)
[packages/php.git] / php-5.3.7-bug-52496.patch
1 --- PHP_5_3/sapi/cli/php_cli.c  2011/05/30 15:55:32     311599
2 +++ PHP_5_3/sapi/cli/php_cli.c  2011/05/30 15:57:50     311600
3 @@ -799,7 +799,7 @@
4                                 request_started = 1;
5                                 php_cli_usage(argv[0]);
6                                 php_end_ob_buffers(1 TSRMLS_CC);
7 -                               exit_status=0;
8 +                               exit_status = (c == '?' && argc > 1 && !strchr(argv[1],  c));
9                                 goto out;
10  
11                         case 'i': /* php info & quit */
This page took 0.027711 seconds and 3 git commands to generate.