After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324358 - gnumeric uses obsolete ftime(3) function
gnumeric uses obsolete ftime(3) function
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Compilation
git master
Other NetBSD
: Normal normal
: ---
Assigned To: Morten Welinder
Morten Welinder
: 326132 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-12-17 20:56 UTC by Thomas Klausner
Modified: 2006-01-09 15:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch converting from ftime to gettimeofday (545 bytes, patch)
2005-12-17 20:57 UTC, Thomas Klausner
none Details | Review

Description Thomas Klausner 2005-12-17 20:56:40 UTC
Version details: 1.6.1
Distribution/Version: 3.99.14/i386

In gnumeric-1.6.1's src/tools/solver/lp_solve/lp_solve.c, the function ftime()
is used. Compilation on NetBSD-3.99.14/i386 fails with an unresolved symbol,
since ftime(3) is in libcompat nowadays.

man ftime gives me:
     This interface is obsoleted by gettimeofday(2).
I converted the file to use gettimeofday instead.
Comment 1 Thomas Klausner 2005-12-17 20:57:36 UTC
Created attachment 56103 [details] [review]
Patch converting from ftime to gettimeofday
Comment 2 Morten Welinder 2005-12-18 02:27:40 UTC
The file is auto-generated, so we will have to fix the script.  No big
deal, though.
Comment 3 Morten Welinder 2005-12-19 17:09:59 UTC
fixed in cvs.
Comment 4 Morten Welinder 2006-01-09 15:36:51 UTC
*** Bug 326132 has been marked as a duplicate of this bug. ***