[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-glpk] Segfault in jday function

From: Heinrich Schuchardt
Subject: Re: [Bug-glpk] Segfault in jday function
Date: Mon, 01 Jul 2013 22:02:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

Hello Andrew,

which errors may occur depends on the POSIX system you use, just compare




Best regards

Heinrich Schuchardt

On 01.07.2013 21:54, Andrew Makhorin wrote:
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

Andrew Makhorin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]