summaryrefslogtreecommitdiff
blob: 76bc1ebae02b39f582e332011b0208c91831923d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff -Naur sr-2.3.2/Configuration sr-2.3.2.linux/Configuration
--- sr-2.3.2/Configuration	1999-08-14 01:42:02.000000000 +0200
+++ sr-2.3.2.linux/Configuration	2002-11-06 22:14:26.000000000 +0100
@@ -26,9 +26,9 @@
 #	MAN5:	directory in which to install the srmap/srtrace(5) man pages
 #		(extension will be `tr 1 5` of MANEXT)
 
-SRSRC = /usr/local/src/sr
-SRCMD = /usr/local/bin
-SRLIB = /usr/local/lib/sr
+SRSRC = /var/tmp/portage/sr-2.3.2/work
+SRCMD = /usr/bin
+SRLIB = /usr/lib/sr
 MAN1 = /usr/man/manl
 MAN3 = /usr/man/manl
 MAN5 = /usr/man/manl
@@ -54,8 +54,8 @@
 #   for Sun Solaris with Sun's C compiler use:	  CCPATH = /opt/SUNWspro/bin/cc
 #   for Linux, NetBSD, FreeBSD, or SGI Irix use:  CCPATH = /usr/bin/cc
 
-CCPATH = /bin/cc
-RSHPATH = /usr/ucb/rsh
+CCPATH = /usr/bin/gcc
+RSHPATH = /usr/bin/ssh
 
 
 
@@ -81,7 +81,7 @@
 #   LIBC = ,  LIBR = ,  LIBM = -lm
 
 LIBC = 
-LIBR =  -L/usr/X11/lib
+LIBR =  -L/usr/X11R6/lib
 LIBM = -lm
 
 
@@ -98,7 +98,7 @@
 #   for NetBSD, set XINCL = /usr/X386/include
 #   for Linux, set XINCL = /usr/X11/include
 
-XINCL = /usr/include
+XINCL = /usr/X11R6/include
 XTANGO = 
 
 
@@ -107,7 +107,7 @@
 #
 #   Set these definitions empty if your system does not have vgrind.
 
-VFPATH = /usr/lib/vfontedpr
+VFPATH = 
 VGMACS = 
 
 
diff -Naur sr-2.3.2/rts/socket.c sr-2.3.2.linux/rts/socket.c
--- sr-2.3.2/rts/socket.c	1999-08-09 18:34:34.000000000 +0200
+++ sr-2.3.2.linux/rts/socket.c	2002-11-06 22:19:12.000000000 +0100
@@ -488,8 +488,8 @@
     extern char *sys_errlist[];
 #endif
 
-    if (errno > 0 && errno < sys_nerr)
-	strcpy (s1, sys_errlist[errno]);
+    if (errno > 0)
+	strcpy (s1, strerror(errno));
     else
 	sprintf (s1, "error %d", errno);
     sprintf (s2, "%s: %s", message ? message : "network I/O", s1);