You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@hyperreal.com> on 1995/08/27 22:01:48 UTC

0.8.11 (fwd)

2 small compilation patches. I think rst may have added at least one
of them already.

Forwarded message:
> From rd@rd.gencon.com  Sun Aug 27 06:58:17 1995
> Date: Sun, 27 Aug 1995 09:59:20 -0400
> From: Bob Thrush <rd...@rd.gencon.com>
> Message-Id: <19...@tarpit.rd.gencon.com>
> To: apache-bugs@apache.org
> Subject: 0.8.11
> Return-receipt-to: rd@rd.gencon.com
> 
>   I've attached 2 small diffs to correct minor problems.  Thanks again
> for this wonderful effort!
> 
>   Here's a fix for a small problem I found with bsdi 1.1 (which
> defines __bsdi__ but doesn't have long long):
> 
> --- mod_include.c~	Tue Aug 22 21:16:23 1995
> +++ mod_include.c	Sun Aug 27 09:44:36 1995
> @@ -648,7 +648,7 @@
>              }
>              else {
>                  int l,x;
> -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__bsdi__)
> +#if BSD >= 199306
>                  sprintf(tag,"%qd",finfo.st_size);
>  #else
>                  sprintf(tag,"%ld",finfo.st_size);
> 
>   This removes a gcc warning:
> --- mod_access.c~	Tue Aug 22 21:16:15 1995
> +++ mod_access.c	Sun Aug 27 09:48:23 1995
> @@ -68,6 +68,7 @@
>  
>  #include "httpd.h"
>  #include "http_config.h"
> +#include "http_log.h"
>  
>  typedef struct {
>      char *from;
> 
> Regards, Bob
> --
> Bob Thrush rd@rd.gencon.com    407 425-4845/ FAX 841-8004
>