httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/lib/apr/include apr.hw
Date Sun, 11 Jun 2000 06:35:46 GMT
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/

Mime
View raw message