summaryrefslogtreecommitdiff
path: root/editors/mg2a/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'editors/mg2a/patches/patch-am')
-rw-r--r--editors/mg2a/patches/patch-am23
1 files changed, 15 insertions, 8 deletions
diff --git a/editors/mg2a/patches/patch-am b/editors/mg2a/patches/patch-am
index 0464ff7dfd3..2e967776504 100644
--- a/editors/mg2a/patches/patch-am
+++ b/editors/mg2a/patches/patch-am
@@ -1,8 +1,19 @@
-$NetBSD: patch-am,v 1.1.1.1 2000/04/01 00:21:27 dmcmahill Exp $
+$NetBSD: patch-am,v 1.2 2000/07/10 18:26:55 tron Exp $
---- ./file.c.orig Sun Jul 3 10:48:57 1988
-+++ ./file.c Thu Mar 30 08:37:30 2000
-@@ -447,14 +447,151 @@
+--- file.c.orig Sun Jul 3 10:48:57 1988
++++ file.c Wed May 31 16:36:36 2000
+@@ -2,6 +2,10 @@
+ * File commands.
+ */
+ #include "def.h"
++#include <stdio.h> // refling
++#include <sys/types.h>
++#include <sys/stat.h>
++
+
+ BUFFER *findbuffer();
+ VOID makename();
+@@ -447,14 +451,147 @@
writeout(bp, fn) register BUFFER *bp; char *fn; {
register int s;
@@ -11,10 +22,6 @@ $NetBSD: patch-am,v 1.1.1.1 2000/04/01 00:21:27 dmcmahill Exp $
+// ------------------> the file to save, and there is an EMPTY file
+// ------------------> name with the same name as we wish to save
+
-+#include <stdio.h>
-+#include <sys/types.h>
-+#include <sys/stat.h>
-+
+// main(int argc, char **argv) {
+ char *last_slash, *file_name_no_dir, dir_name[1000], cmd[1000], *end_of_dirname;
+// in[1000];