Project

General

Profile

Bug #2609

network.c can fail to compile (1.4.35)

Added by citaylor over 5 years ago. Updated over 5 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).

#1

Updated by stbuehler over 5 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?

#2

Updated by citaylor over 5 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.

#3

Updated by Gillingham over 5 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.

#4

Updated by stbuehler over 5 years ago

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

Applied in changeset r2972.

Also available in: Atom