httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: cvs commit: apache/src http_protocol.c
Date Sun, 03 Nov 1996 21:36:52 GMT
On Thu, 31 Oct 1996, Chuck Murcko wrote:
> Not sure if the first try made it; here's another:
> 
> Is there any reason that
> 
>     if (r->finfo.st_mode != 0)
>         sprintf(weak_etag, "W/\"%lx-%lx-%lx\"", (unsigned long)r->finfo.st_ino,
> 		(unsigned long)r->finfo.st_size, mtime);
> 
> isn't portable? It fixes the warning everywhere here (FreeBSD, BSDI, Solaris,
> Irix).

No, that would seem to be the right fix, given all other conditions.  It works
fine here too.  I've gone and committed it, even.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS


Mime
View raw message