[Bug 289] Gentoo QA Notice: "poor programming practices"

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Jan 30 01:29:54 PST 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=289





------- Comment #1 from matthew.flaschen at gatech.edu  2009-01-30 09:29 -------
The problem is that:

#include <sys/time.h>

is missing from the files.  Per
http://www.opengroup.org/onlinepubs/000095399/functions/gettimeofday.html, that
is the required header for gettimeofday.  Now, I really don't see this as that
poor programming practice, and I don't see how there will be random runtime
errors (every POSIX C library has this function).

Further, this really should be fixed upstream at http://bugs.sun.com/. 
Nevertheless, the attached is a patch against hg to add (and obviously run) a
patch adding this include.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list