cvs: php-src /ext/standard proc_open.c
| From: | Moriyoshi Koizumi | Date: | Sat, 12 Jul 2003 07:01:30 +0000 |
| Subject: | cvs: php-src /ext/standard proc_open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22519@lists.php.net to get a copy of this message | ||
moriyoshi Sat Jul 12 03:01:30 2003 EDT
Modified files:
/php-src/ext/standard proc_open.c
Log:
Add folding markers
Index: php-src/ext/standard/proc_open.c
diff -u php-src/ext/standard/proc_open.c:1.14 php-src/ext/standard/proc_open.c:1.15
--- php-src/ext/standard/proc_open.c:1.14 Sat Jul 12 02:54:03 2003
+++ php-src/ext/standard/proc_open.c Sat Jul 12 03:01:30 2003
@@ -15,7 +15,7 @@
| Author: Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: proc_open.c,v 1.14 2003/07/12 06:54:03 moriyoshi Exp $ */
+/* $Id: proc_open.c,v 1.15 2003/07/12 07:01:30 moriyoshi Exp $ */
#include <stdio.h>
#include "php.h"
@@ -179,7 +179,7 @@
}
/* }}} */
-
+/* {{{ proc_open_rsrc_dtor */
static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
struct php_process_handle *proc = (struct php_process_handle*)rsrc->ptr;
@@ -227,6 +227,7 @@
pefree(proc, proc->is_persistent);
}
+/* }}} */
/* {{{ php_make_safe_mode_command */
static int php_make_safe_mode_command(char *cmd, char **safecmd, int is_persistent TSRMLS_DC)
@@ -290,12 +291,13 @@
}
/* }}} */
+/* {{{ PHP_MINIT_FUNCTION(proc_open) */
PHP_MINIT_FUNCTION(proc_open)
{
le_proc_open = zend_register_list_destructors_ex(proc_open_rsrc_dtor, NULL, "process",
module_number);
return SUCCESS;
}
-
+/* }}} */
/* {{{ proto int proc_terminate(resource process [, long signal])
kill a process opened by proc_open */
@@ -321,7 +323,6 @@
RETURN_LONG(FG(pclose_ret));
}
/* }}} */
-
/* {{{ proto int proc_close(resource process)
close a process opened by proc_open */