mailing list of musl libc
 help / color / mirror / code / Atom feed
* apache working (sort of)
@ 2012-09-22 18:08 Jens
  2012-09-22 20:10 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Jens @ 2012-09-22 18:08 UTC (permalink / raw)
  To: musl


Just got a working apache musl build.
Well its minimally tested so far.. but it runs and displays "It works". 
:-)

The one problem was that apr looks up the service named "0".
So I had to add a service named "0" to /etc/services.

Just FYI.

Cheers,
Jens


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: apache working (sort of)
  2012-09-22 18:08 apache working (sort of) Jens
@ 2012-09-22 20:10 ` Rich Felker
  2012-09-22 20:21   ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2012-09-22 20:10 UTC (permalink / raw)
  To: musl

On Sat, Sep 22, 2012 at 08:08:46PM +0200, Jens wrote:
> 
> Just got a working apache musl build.
> Well its minimally tested so far.. but it runs and displays "It
> works". :-)
> 
> The one problem was that apr looks up the service named "0".
> So I had to add a service named "0" to /etc/services.

This should not be necessary. I think the bug is that when "0" is
parsed as a number and the result is 0, getaddrinfo is treating this
as a parse error (since I expected "0" would never actually be used)
and rejecting it instead of just using the value 0.

I'll take a look and get it fixed properly.

Rich


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: apache working (sort of)
  2012-09-22 20:10 ` Rich Felker
@ 2012-09-22 20:21   ` Rich Felker
  0 siblings, 0 replies; 3+ messages in thread
From: Rich Felker @ 2012-09-22 20:21 UTC (permalink / raw)
  To: musl

On Sat, Sep 22, 2012 at 04:10:46PM -0400, Rich Felker wrote:
> On Sat, Sep 22, 2012 at 08:08:46PM +0200, Jens wrote:
> > 
> > Just got a working apache musl build.
> > Well its minimally tested so far.. but it runs and displays "It
> > works". :-)
> > 
> > The one problem was that apr looks up the service named "0".
> > So I had to add a service named "0" to /etc/services.
> 
> This should not be necessary. I think the bug is that when "0" is
> parsed as a number and the result is 0, getaddrinfo is treating this
> as a parse error (since I expected "0" would never actually be used)
> and rejecting it instead of just using the value 0.
> 
> I'll take a look and get it fixed properly.

It was as I expected. Should be fixed now.

Rich


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-22 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-22 18:08 apache working (sort of) Jens
2012-09-22 20:10 ` Rich Felker
2012-09-22 20:21   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).