summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>1999-03-15 13:54:24 +0000
committersimonb <simonb@pkgsrc.org>1999-03-15 13:54:24 +0000
commit933c508f7bef58d3205084e8891905f880da54aa (patch)
tree2f7af305b9185dcd8c7feb944fcaa152fb2d5777 /emulators
parent4bef378a5f1af161436c69710c7c8579101ff9fc (diff)
downloadpkgsrc-933c508f7bef58d3205084e8891905f880da54aa.tar.gz
Add / to rc directory name after stat() not before.
Patch has been sent to maintainer.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xcopilot/patches/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/xcopilot/patches/patch-ae b/emulators/xcopilot/patches/patch-ae
new file mode 100644
index 00000000000..77403fde874
--- /dev/null
+++ b/emulators/xcopilot/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1 1999/03/15 13:54:24 simonb Exp $
+
+--- main.c.orig Tue Aug 25 15:06:36 1998
++++ main.c Tue Mar 16 00:45:28 1999
+@@ -638,7 +638,6 @@
+ struct stat buf;
+
+ expand_tilde(&pilot->DataDir);
+- add_slash(&pilot->DataDir);
+ if (stat(pilot->DataDir, &buf) == -1) {
+ if (errno == ENOENT) {
+ if (mkdir(pilot->DataDir, S_IRWXU)) {
+@@ -651,6 +650,7 @@
+ exit(1);
+ }
+ }
++ add_slash(&pilot->DataDir);
+
+ /* Set the memory version */
+ pdebug_memversion = pilot->MemVersion;