NO_SYS_SIGLIST_DECL change.
authorTimur Bakeyev <mc@bat.ru>
Mon, 25 Jan 1999 12:45:51 +0000 (12:45 +0000)
committerTimur I. Bakeyev <timur@src.gnome.org>
Mon, 25 Jan 1999 12:45:51 +0000 (12:45 +0000)
Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>

* configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
#include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
tion hides there.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
glib/gstrfuncs.c
gstrfuncs.c

index c65957c..99cd4a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index c65957c..99cd4a2 100644 (file)
@@ -1,3 +1,10 @@
+Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
+
+       * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
+       now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
+       #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
+       tion hides there.
+
 1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Do not use the thread libs, when searching for
@@ -184,7 +191,7 @@ Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
        after the determination of the G_THREAD_LIBS and use them for
        finding those functions, necessary on systems with a different C
        library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
-       Timur I. Bakeyev <timur@comtat.ru>.
+       Timur Bakeyev <mc@bat.ru>.
 
 Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
 
index 905d619..36101e1 100644 (file)
@@ -281,7 +281,7 @@ AC_TRY_COMPILE([#include <signal.h>], [
 strlen (sys_siglist[0]);
 ], glib_ok=yes, glib_ok=no)
 AC_MSG_RESULT($glib_ok)
-if test $glib_ok = yes; then
+if test $glib_ok = no; then
     AC_DEFINE(NO_SYS_SIGLIST_DECL)
 fi
 
index d5c00b7..0a16485 100644 (file)
@@ -31,7 +31,7 @@
 #include <string.h>
 #include <locale.h>
 #include <ctype.h>             /* For tolower() */
-#if !defined (HAVE_STRSIGNAL) && NO_SYS_SIGLIST
+#if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL)
 #include <signal.h>
 #endif
 #include "glib.h"
@@ -762,9 +762,8 @@ g_strsignal (gint signum)
     }
 #else /* NO_SYS_SIGLIST */
 
-#ifndef NO_SYS_SIGLIST_DECL
-  /*(see Tue Jan 19 00:44:24 1999 in changelog)*/
-  extern char *sys_siglist[];
+#ifdef NO_SYS_SIGLIST_DECL
+  extern char *sys_siglist[];  /*(see Tue Jan 19 00:44:24 1999 in changelog)*/
 #endif
 
   return (char*) /* this function should return const --josh */ sys_siglist [signum];
index d5c00b7..0a16485 100644 (file)
@@ -31,7 +31,7 @@
 #include <string.h>
 #include <locale.h>
 #include <ctype.h>             /* For tolower() */
-#if !defined (HAVE_STRSIGNAL) && NO_SYS_SIGLIST
+#if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL)
 #include <signal.h>
 #endif
 #include "glib.h"
@@ -762,9 +762,8 @@ g_strsignal (gint signum)
     }
 #else /* NO_SYS_SIGLIST */
 
-#ifndef NO_SYS_SIGLIST_DECL
-  /*(see Tue Jan 19 00:44:24 1999 in changelog)*/
-  extern char *sys_siglist[];
+#ifdef NO_SYS_SIGLIST_DECL
+  extern char *sys_siglist[];  /*(see Tue Jan 19 00:44:24 1999 in changelog)*/
 #endif
 
   return (char*) /* this function should return const --josh */ sys_siglist [signum];