You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ICS.UCI.EDU> on 1999/08/26 17:19:50 UTC
[PATCH 1.3.x] get rid of C++ comments
One of Martin's commits to 2.0 should be back-ported.
------- Forwarded Message
Modified: src/main http_log.c
Log:
Sorry, but using C comments in place of C++ comments
makes life for me and my compiler much easier.
This one should be back-ported to Apache 1.3.10-dev
Submitted by: Martin Kraemer
Revision Changes Path
1.3 +1 -1 apache-2.0/src/main/http_log.c
Index: http_log.c
===================================================================
RCS file: /home/fielding/moot/apache-2.0/src/main/http_log.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- http_log.c 1999/08/26 12:54:15 1.2
+++ http_log.c 1999/08/26 14:37:39 1.3
@@ -406,7 +406,7 @@
FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
nErrorCode,
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
+ MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* // Default language */
(LPTSTR) errstr + len,
sizeof(errstr) - len,
NULL
------- End of Forwarded Message
Re: [PATCH 1.3.x] get rid of C++ comments
Posted by Ben Laurie <be...@algroup.co.uk>.
"Roy T. Fielding" wrote:
>
> One of Martin's commits to 2.0 should be back-ported.
Please, if you are going to change C++ comments to C comments, don't
leave the // in.
Cheers,
Ben.
>
> ------- Forwarded Message
>
> Modified: src/main http_log.c
> Log:
> Sorry, but using C comments in place of C++ comments
> makes life for me and my compiler much easier.
>
> This one should be back-ported to Apache 1.3.10-dev
>
> Submitted by: Martin Kraemer
>
> Revision Changes Path
> 1.3 +1 -1 apache-2.0/src/main/http_log.c
>
> Index: http_log.c
> ===================================================================
> RCS file: /home/fielding/moot/apache-2.0/src/main/http_log.c,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- http_log.c 1999/08/26 12:54:15 1.2
> +++ http_log.c 1999/08/26 14:37:39 1.3
> @@ -406,7 +406,7 @@
> FORMAT_MESSAGE_FROM_SYSTEM,
> NULL,
> nErrorCode,
> - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
> + MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* // Default language */
> (LPTSTR) errstr + len,
> sizeof(errstr) - len,
> NULL
>
> ------- End of Forwarded Message
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi