This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] ecos and gettimeofday()


OK. It took a while, but here it is. It took a while to fix all the
things Alex's patch broke, but i think i've got them all covered
now. There was some strange bugs along the way. eg Alex's sys/time.h
had

#include <sys/cdefs.h>

which seems incent, but sometimes causes __THROW to be silently
redefined to __attribute__ ((__nothrow__)) causing the network stack
to blow up with a compiler error before setbuf(). The POSIX tests also
required a few modifications to correctly handle bits of the POSIX
package being disabled. And some bits of code wrongly assume <time.h>
defines timeval when in fact <sys/time.h> does.

        Andrew

Attachment: gettimeofday.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]