[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] Segfault in jday function
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] Segfault in jday function |
Date: |
Mon, 01 Jul 2013 23:54:51 +0400 |
Hi Heinrich,
> if gettimeofday fails it returns -1,
> if gmtime fails it returns NULL.
>
> To avoid segmentation faults, please, provide error handling as follows:
>
Thank you for suggestion.
However, under which circumstances gettimeofday may fail? Most likely
(as I replied to Jiri) that it was a bug specific to mingw64 version of
gettimeofday.
Andrew Makhorin