summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ruby <rubys@php.net>2000-03-31 00:53:45 +0000
committerSam Ruby <rubys@php.net>2000-03-31 00:53:45 +0000
commit8a64f51101daed914822e981e18b7c7fc18a164c (patch)
tree1d66ad2d58f36368826e205bc5dd4e30f9046033
parent24302e89e5d652ab9816b0dc40c0cb1d803d19b1 (diff)
downloadphp-git-8a64f51101daed914822e981e18b7c7fc18a164c.tar.gz
Use C style comments, per the CODING_STANDARDS
-rw-r--r--sapi/servlet/servlet.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c
index c1deeb6f3b..5142fca1e8 100644
--- a/sapi/servlet/servlet.c
+++ b/sapi/servlet/servlet.c
@@ -368,9 +368,11 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send
#ifdef VIRTUAL_DIR
file_handle.handle.fp = php_fopen_primary_script();
#else
- // The java runtime doesn't like the working directory to be
- // changed, so save it and change it back as quickly as possible
- // in the hopes that Java doesn't notice.
+ /*
+ * The java runtime doesn't like the working directory to be
+ * changed, so save it and change it back as quickly as possible
+ * in the hopes that Java doesn't notice.
+ */
getcwd(cwd,MAXPATHLEN);
file_handle.handle.fp = php_fopen_primary_script();
chdir(cwd);