1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/security/skip/files/patch-cs

18 lines
477 B
Plaintext
Raw Normal View History

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);
}