summaryrefslogtreecommitdiff
path: root/security/skip/files/patch-ch
blob: 35d109ebe4d129f97643b655a83eb4ccbe6e5da1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c skipsrc-1.0/skip/tools/skiptool/es_ras.c
--- skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c	Fri Oct 25 13:13:06 1996
+++ skipsrc-1.0/skip/tools/skiptool/es_ras.c	Tue Dec  2 17:05:13 1997
@@ -92,6 +92,13 @@
 	if (stat(path, &st) == 0) {
 		return (path);
 	}
+
+	strcpy(path, SKIP_DIR);
+	strcat(path, "/");
+	strcat(path, name);
+	if (stat(path, &st) == 0) {
+		return (path);
+	}
 	return (NULL);
 }