summaryrefslogtreecommitdiff
path: root/source/xap/xxgdb/xxgdb.fix_glibc_and_gcc.diff
blob: b61d57ceda5488086167d704bcd861bae9c442a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff -Naur xxgdb-1.12/Imakefile xxgdb-1.12.fixed/Imakefile
--- xxgdb-1.12/Imakefile	1995-06-19 19:20:55.000000000 -0300
+++ xxgdb-1.12.fixed/Imakefile	2007-02-21 10:40:57.000000000 -0200
@@ -59,7 +59,7 @@
 #endif
 
 #ifdef LinuxArchitecture
-DEFINES = -DSYSV $(DEFGDB)
+DEFINES = $(DEFGDB)
 #endif
 
 #if defined(NeXTArchitecture) || defined(NextArchitecture)
diff -Naur xxgdb-1.12/filemenu.c xxgdb-1.12.fixed/filemenu.c
--- xxgdb-1.12/filemenu.c	1994-08-29 16:38:28.000000000 -0300
+++ xxgdb-1.12.fixed/filemenu.c	2007-02-21 10:47:47.000000000 -0200
@@ -207,12 +207,12 @@
 	return False;
     if (statbuf.st_mode & S_IFDIR) {		/* is directory */
 	strcat(entry->d_name, "/");
-	++(entry->d_namlen);
+	++(entry->d_reclen);
 	return True;
     }
     if (statbuf.st_mode & S_IEXEC) {		/* is executable */
 	strcat(entry->d_name, "*");
-	++(entry->d_namlen);
+	++(entry->d_reclen);
 	return True;
     }
     return True;
diff -Naur xxgdb-1.12/gdb_handler.c xxgdb-1.12.fixed/gdb_handler.c
--- xxgdb-1.12/gdb_handler.c	1995-04-19 13:46:22.000000000 -0300
+++ xxgdb-1.12.fixed/gdb_handler.c	2007-02-21 10:51:30.000000000 -0200
@@ -85,10 +85,7 @@
  *    query_gdb():			Send command to gdb.
  */
 
-#ifdef SYSV 
-#   include <signal.h>
-#endif
-
+#include <signal.h>
 
 /*  
  *  Display an outlined arrow to locate the calling routine in a stack