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() {
> &nbsp;&nbsp;&nbsp; struct timezone tz;
> &nbsp;&nbsp;&nbsp; puts("a");
> &nbsp;&nbsp;&nbsp; gettimeofday(NULL, &amp;tz);
> &nbsp;&nbsp;&nbsp; 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

Reply via email to