FVWM: fvwm-2.0.42 installation bug.

From: Arnon Kanfi <arnon_at_gilly.datatools.com>
Date: Mon, 29 Apr 96 17:12:49 EDT

There is an unresolved reference to strerror() in builtins.c on SunOs (I am
using SunOs 4.1.4 but I believe that this problem will occur on other
versions as well). My fix was to add the following lines to the top of the
file:

#if defined __sun__ && !defined SYSV
extern char *sys_errlist[] ;
#define strerror(err) sys_errlist[err]
#endif

This is not ideal because garbage error code may cause core dumps. A function
which does boundary checking would be better, however it should be OK for most
cases.

Arnon
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Apr 29 1996 - 16:08:56 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST