httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: [Fwd: Problem 2534]
Date Mon, 03 Aug 1998 17:29:37 GMT
On Mon, 3 Aug 1998, Jens-Uwe Mager wrote:

> 
> >> But I would suspect that they would probably point to some ANSI
> >> standard and say the compiler can do with constant string adresses what
> >> it likes, there is no way that a user program could rely on particular
> >> addresses.
> >> 
> >
> >If they can point to some standard saying that doing:
> >
> >	char foo[] = "this is a string"
> >	char *bar;
> >	char *taz;
> >
> >	bar = foo;
> >	taz = foo;
> >
> >Doesn't have to result in bar == taz, then I would be most impressed.
> >AFAIK, that is really the essence of what the code does.  
> 
> Oops, I thought the code had the same string constant twice. I should
> have looked at the real code first before writing my comment.

Yea, that is what I thought must be happening too, at first.  It would
explain things reasonably, and then it would be an Apache bug.  But unless
someone is building the string in a really odd way that my greps didn't
find, that can't be the case.


Mime
View raw message