Project

General

Profile

Actions

Bug #2609

closed

network.c can fail to compile (1.4.35)

Added by citaylor about 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

network.c from 1.4.35 fails to compile on HP-UX 11.00 if SUN_LEN isnt defined. Line 366 tries to access "hostlen", but the variable is no longer in context (11 lines previously).

Actions #1

Updated by stbuehler about 9 years ago

  • Target version changed from 1.4.x to 1.4.36

Hi, thx for reporting this.

Could you test whether the commit http://git.lighttpd.net/lighttpd/lighttpd-1.x.git/commit/?h=lighttpd-1.4.x-stbuehler fixes your problem?

Actions #2

Updated by citaylor about 9 years ago

Thanks for your prompt response...
It does indeed solve the compilation issue, thanks.
I cannot comment on whether it affects functionality as I am not in a position to test this code path.

Actions #3

Updated by Gillingham about 9 years ago

Confirming this bug also exists when compiling on Solaris 10 (SunOS 5.10 Generic_141414-08 sun4u sparc SUNW,A70).

I applied the patch mentioned and was able to successfully compile here as well.

Actions #4

Updated by stbuehler about 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2972.

Actions

Also available in: Atom