FVWM: strerror: working patch on sunos 4.1.3

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Tue, 30 Apr 96 15:03:28 +0200

my errno.h doesn't even declare sys_errlist[] and sys_nerr

And that sprintf needs a character buffer to construct the result in, as a
first argument!!!!

and sun_headers.h should be included in builtins.c

sun_headers should have:

extern char *sys_errlist[];
extern int sys_nerr;

#define strerror(err) ((err < sys_nerr) ? sys_errlist[err] : "Unknown errno")


albrecht
-- 
If you love it, set it free. 
If it doesn't come back, hunt it down and kill it. -- (maybe) James McGregor
--
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 Tue Apr 30 1996 - 08:01:32 BST

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