You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/06/10 19:31:52 UTC
cvs commit: apache-2.0/src/lib/apr/include apr.hw
wrowe 00/06/10 10:31:51
Modified: src/lib/apr/include apr.hw
Log:
Fix a dup... and not even a compiler warning emitted? How odd...
Revision Changes Path
1.18 +0 -2 apache-2.0/src/lib/apr/include/apr.hw
Index: apr.hw
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr.hw,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- apr.hw 2000/06/10 17:15:40 1.17
+++ apr.hw 2000/06/10 17:31:49 1.18
@@ -129,8 +129,6 @@
#define APR_HAVE_STRICMP 1
#define APR_HAVE_STRNCASECMP 0
#define APR_HAVE_STRNICMP 1
-#define APR_HAVE_STRNICMP 1
-
#define APR_HAVE_STRDUP 1
#define APR_HAVE_STRSTR 1
Re: cvs commit: apache-2.0/src/lib/apr/include apr.hw
Posted by Greg Stein <gs...@lyra.org>.
Compilers usually only provide a warning if the redefinition is *different*.
In this case, since the second definition exactly matches the first, the
compiler isn't going to say anything.
Cheers,
-g
On Sat, Jun 10, 2000 at 05:31:52PM -0000, wrowe@locus.apache.org wrote:
> wrowe 00/06/10 10:31:51
>
> Modified: src/lib/apr/include apr.hw
> Log:
> Fix a dup... and not even a compiler warning emitted? How odd...
>
> Revision Changes Path
> 1.18 +0 -2 apache-2.0/src/lib/apr/include/apr.hw
>
> Index: apr.hw
> ===================================================================
> RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr.hw,v
> retrieving revision 1.17
> retrieving revision 1.18
> diff -u -r1.17 -r1.18
> --- apr.hw 2000/06/10 17:15:40 1.17
> +++ apr.hw 2000/06/10 17:31:49 1.18
> @@ -129,8 +129,6 @@
> #define APR_HAVE_STRICMP 1
> #define APR_HAVE_STRNCASECMP 0
> #define APR_HAVE_STRNICMP 1
> -#define APR_HAVE_STRNICMP 1
> -
> #define APR_HAVE_STRDUP 1
> #define APR_HAVE_STRSTR 1
--
Greg Stein, http://www.lyra.org/