pthread_cond_timedwait not reporting error on bad arg

2006-05-09 Thread Ivan Mari
Sorry, its already fixed in last version. -- Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%! Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

pthread_cond_timedwait not reporting error on bad arg.

2006-05-09 Thread Ivan Mari
In the code below, the timespec argument to pthread_cond_timedwait() is set to an invalid value: t_nsec > 999,999,999 so, EINVAL error code should be returned. Regards, Ivan Mari #include #include #include #include #include void* start_routine( void* arg ); pthread_cond_t m_c

Bug with strcat

2005-07-05 Thread Ivan Mari
This code produces an access violation. Commenting out the arr[] it works fine. Leaving the arr[] and commenting out the strcat works too. Anyway on a Linux with GCC 3.4.2 it works as it is presented here without problems #include #include #include #include int main() { int arr[]