Bugzilla – Bug 136788
gwget-0.95-3: undefined C code
Last modified: 2005-12-05 20:41:49 UTC
Hello there, I just tried to compile package gwget-0.95-3 with a prerelease of the GNU C compiler version 4.1. It said wget-log.c:42: warning: operation on `p' may be undefined The source code is while (*p != ' ') *p++ = *(p+1); I agree with the compiler - this code seems to be undefined. Suggest new code while (*p != ' ') { p[ 0] = p[ 1]); ++p; } BTW, the email address of the author [ frimost@dhis.org ] seems broken
Code fixed.