[ECOS] minor issue with compat-posix-signal1 test

sandeep shimple0@yahoo.com
Thu Dec 16 11:31:00 GMT 2004


in packages/compat/posix/current/tests/signal1.c function pthread_entry1 should
initialise info to {} in "siginfo_t info;"

this would save erroneous possibility of "sig == sig2" in this function,

  sig = sigtimedwait( &mask, &info, &timeout );
  sig2 = info.si_signo;

when in sigtimedwait (signal.cxx) "err != 0" .

sandeep

=====
---------------------------------------------------------
visit me at http://members.fortunecity.com/sandeepkumar/


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list