Bugzilla – Bug 269
Additional C99 syntax in NSD 3.2.3
Last modified: 2009-08-18 09:38:25 CEST
Trivial problem, but line 760 of nsd.c in version 3.2.3 contains a variable declaration in the middle of a code block.
struct passwd *pwd;
This causes the compile to fail on older versions of GCC that don't implement this c99 feature (saw the error with GCC 2.95)
Created attachment 113 [details]
Patch to undo C99 syntax
Damn (pardon my french). Though I checked on the functions conformance, I did not take the syntax into account. I have created a patch to undo this and have fixed it in trunk.