com php-src: - Change comment style: phpdbg.c
| From: | Bob Weinand | Date: | Thu, 14 Nov 2013 21:39:59 +0000 |
| Subject: | com php-src: - Change comment style: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74951@lists.php.net to get a copy of this message | ||
Commit: 0896236a7a4db8b633d182850e06d8315fbd7acf
Author: Felipe Pena <felipensp@gmail.com> Thu, 14 Nov 2013 19:39:59 -0200
Parents: c3c95610c1ac2ca4af4b497fa9f5ca803c45d22d
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0896236a7a4db8b633d182850e06d8315fbd7acf
Log:
- Change comment style
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index 30a06e8..4a1158a 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -104,7 +104,7 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
efree(PHPDBG_G(exec));
PHPDBG_G(exec) = NULL;
}
-
+
if (PHPDBG_G(oplog)) {
fclose(
PHPDBG_G(oplog));
@@ -116,7 +116,7 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
efree(PHPDBG_G(ops));
PHPDBG_G(ops) = NULL;
}
-
+
return SUCCESS;
} /* }}} */
@@ -348,7 +348,7 @@ int main(int argc, char **argv) /* {{{ */
int php_optind;
int opt;
long cleaning = 0;
-
+
#ifdef ZTS
void ***tsrm_ls;
#endif
@@ -424,7 +424,7 @@ phpdbg_main:
case 'z':
zend_load_extension(php_optarg);
break;
-
+
/* begin phpdbg options */
case 'e': { /* set execution context */
@@ -433,18 +433,18 @@ phpdbg_main:
exec = strdup(php_optarg);
}
} break;
-
+
case 'I': { /* ignore .phpdbginit */
init_file_default = 0;
} break;
-
+
case 'i': { /* set init file */
init_file_len = strlen(php_optarg);
if (init_file_len) {
init_file = strdup(php_optarg);
}
} break;
-
+
case 'O': { /* set oplog output */
oplog_file_len = strlen(php_optarg);
if (oplog_file_len) {
@@ -506,7 +506,7 @@ phpdbg_main:
free(exec);
}
-
+
if (oplog_file) { /* open oplog */
PHPDBG_G(oplog) = fopen(oplog_file, "w+");
if (!PHPDBG_G(oplog)) {
@@ -544,7 +544,7 @@ phpdbg_main:
cleaning = 1;
goto phpdbg_out;
} else cleaning = 0;
-
+
if (PHPDBG_G(flags) & PHPDBG_IS_QUITTING) {
goto phpdbg_out;
}
@@ -581,14 +581,14 @@ phpdbg_out:
sapi_shutdown();
}
-
+
if (cleaning) {
goto phpdbg_main;
}
#ifdef ZTS
- /* bugggy */
- //tsrm_shutdown();
+ /* bugggy */
+ /* tsrm_shutdown(); */
#endif
return 0;