1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/security/skip/files/patch-cs
1999-03-10 22:28:00 +00:00

18 lines
477 B
Plaintext

diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c work.new/skip/tools/skiptool/es_ras.c
--- skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c Fri Oct 25 13:13:06 1996
+++ work.new/skip/tools/skiptool/es_ras.c Mon Mar 8 21:33:39 1999
@@ -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);
}