gtk-1.0.1
- From: Jason Nordwick <nordwick scam XCF Berkeley EDU>
- To: gtk-list redhat com
- Subject: gtk-1.0.1
- Date: 7 May 1998 09:33:44 -0000
In gutil.c, sys_siglist is defined as without const, so on
FBSD systems, gcc stops. It should be const char *const sys_siglist[].
It would probably be better to just include the propper header file
(unistd.h) instead of the extern declaration, but here is the
short term patch.
Jay
--- gutils.c.orig Sun May 3 19:35:00 1998
+++ gutils.c Thu May 7 01:58:48 1998
@@ -663,7 +663,7 @@
#endif
}
#else /* NO_SYS_SIGLIST */
- extern char *sys_siglist[];
+ extern const char * const sys_siglist[];
return sys_siglist [signum];
#endif /* NO_SYS_SIGLIST */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]