View Issue Details

IDProjectCategoryView StatusLast Update
0000140Multi Theft AutoServerpublic2018-09-12 22:54
ReporterSugarD-x Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status confirmedResolutionopen 
Product Version0.6 
Target Version0.6 
Summary0000140: The "sys/timeb.h" included header needs to be ignored in OpenBSD, if possible
DescriptionThe "sys/timeb.h" header file is being included with *nix-based builds of MTAServer, however it is considered obsolete in OpenBSD, and is preventing MTAServer from being compiled on that operating system. This header's usage in the *nix-based builds is not known, and needs to be checked to ensure that it is still not being actively used. If it is, an alternative solution to the issue needs to be looked into.
Additional InformationUbuntu and Mac OS X builds do not complain during the compiling process about the inclusion of "sys/timeb.h", however OpenBSD does. This does not affect any Windows builds. It is not yet known if FreeBSD is also affected or not.

An online reference to the source code of "sys/timeb.h" can be found here: https://unix.superglobalmegacorp.com/Net2/newsrc/sys/timeb.h.html

Further information:
http://pubs.opengroup.org/onlinepubs/009695399/functions/ftime.html
TagsNo tags attached.

Relationships

child of 0000137 assignedSugarD-x Support for OpenBSD servers 

Activities

SugarD-x

2018-09-12 22:54

administrator   ~0000173

This appears to be related to the header file and its referenced function of "ftime" being deprecated in modern versions of *nix-based and BSD-based operating systems. The reference needs to be replaced within MTAServer to correct the problem.

Issue History

Date Modified Username Field Change
2018-09-10 05:35 SugarD-x New Issue
2018-09-10 05:35 SugarD-x Status new => confirmed
2018-09-10 05:35 SugarD-x Relationship added child of 0000137
2018-09-12 22:54 SugarD-x Note Added: 0000173
2018-09-12 22:54 SugarD-x Additional Information Updated