On Feb 20 19:15, 109224573 via Cygwin wrote: > this code works on Linux, but not msys2: > > #include<stdio.h> > #include<sys time.h=""> > int main() { > struct timezone tz; > puts("a"); > gettimeofday(NULL, &tz); > puts("b"); > } > > > I guess the reason would be > winsup/cygwin/times.cc
Thanks for the bug report. Fixed in git. The test release cygwin-3.6.0-0.46.g70653fd8f1db containing this patch will be available shortly. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple