1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/japanese/elvis/files/patch-ad
Masafumi Max NAKANE c03dff4b53 Workaround for elvrec acts inproperly when there is symbolic links in
relevant directories.

(Closing PR #1733.)
Submitted by:	sanpei@yy.cs.keio.ac.jp
1996-10-22 12:44:08 +00:00

29 lines
680 B
Plaintext

--- prsvunix.c.org Mon Oct 21 21:15:25 1996
+++ prsvunix.c Mon Oct 21 21:17:15 1996
@@ -105,6 +105,17 @@
fprintf(m, "was preserved when %s.\n", when);
fprintf(m, "To recover this file, do the following:\n");
fprintf(m, "\n");
+
+#ifdef __FreeBSD__
+ if (tmp)
+ {
+ fprintf(m, " elvprsv %s/%s\n", file, tmp);
+ }
+ else
+ {
+ fprintf(m, " elvrec %s/%s\n", file, base);
+ }
+#else
#if OSK
fprintf(m, " chd %s\n", file);
#else /* ANY_UNIX */
@@ -118,6 +129,7 @@
{
fprintf(m, " elvrec %s\n", base);
}
+#endif
fprintf(m, "\n");
fprintf(m, "With fond wishes for a speedy recovery,\n");
fprintf(m, " Elvis\n");