On Sun, 2012-04-01 at 22:29 +0200, Samuel Thibault wrote: > Svante Signell, le Fri 30 Mar 2012 12:55:17 +0200, a écrit : > > + type struct_sigaction is record > > + sa_handler : System.Address; > > + sa_flags : int; > > + sa_mask : sigset_t; > > + end record; > > This is not the proper order, see struct sigaction in bits/sigaction.h: > flags are after sa_mask, not before.
As I wrote before, I have not checked every line in the header files and compared with that file. Did not even think of that GNU had different argument order compared to kfree/linux. How stupid to define the same things with different argument order, in my opinion:( I have checked all the uppercase constants though. > > + -- True also for GNU/Hurd?? > > + -- GNU/kFreeBSD does not support Thread Priority Protection or Thread > > + -- Priority Inheritance and lacks some pthread_mutexattr_* functions. > > + -- Replace them with dummy versions. > > Yes, true there too. > > > + type pthread_attr_t is record > > + type pthread_condattr_t is record > > + type pthread_mutexattr_t is record > > + type struct_pthread_fast_lock is record > > + type pthread_mutex_t is record > etc. > > all these need to be updated to our libpthread's structures content. OK, will do! However, same comment as above applies here too!
