Re: xalf, glibc, stuff



On 13 Feb 2001 05:11:27 -0800, Maciej Stachowiak wrote:
> Now that's a responsive maintainer :-)
> 
> So George, is 0.7 ready for the GNOME beta or what?

There is still a problem when compiling xalf with gcc 2.96 (as on RH7
and Mdk cooker). I've made a patch (sent to Peter) but I didn't test it
on gcc 2.95.2. If it works, it should be included, if it doesn't, it
should be #ifdef based on gcc version.

-- 
Frédéric Crozat
MandrakeSoft
--- xalf-0.7/lib/xalflaunch.c.orig	Mon Feb 12 20:10:19 2001
+++ xalf-0.7/lib/xalflaunch.c	Tue Feb 13 10:19:03 2001
@@ -38,8 +38,8 @@
 static void restore_env();
 static long int launch_pid = 0;
 
-void
-_init () {
+void initialize (void) __attribute__ ((constructor));
+void initialize (void) {
     char *pid_string;
     void *dlh = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]