Two trivial fixes for udhcp-0.9.8 (a) At line 134, the lack of a break statement causes compilation to fail on recent gcc (b) At line 534, a buggy sizeof means signals are nver acted upon. Patch will be attached once I get to that stage :-). Reproducible: Always Steps to Reproduce: 1. Try to build, it fails 2. FIx (a) above, it compiles 3. Run it, send SIGUSR1 --- nothing happens. Actual Results: Nothing! Expected Results: renew lease Patch to follow ... I told the upstream author about these issues 28 Jul 2003 14:55:06 +0100 and was told the signal patch was in CVS ... alas.
Created attachment 40959 [details, diff] patch for udhcpc issues
Changed hardware to PPC (in fact any big endian). Obvious when you see that sizeof(signal) == 1 and sizeof(sig) == sizeof(int).
Already fixed in udhcp-0.9.8-r3.
not really fixed ...
udhcp-0.9.9_pre20041216 now in portage