summaryrefslogtreecommitdiff
path: root/editors/aewan
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-09-03 08:01:20 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-09-03 08:01:20 +0000
commitf2986e0f0334ce8a85d386be64c9715a99e6e866 (patch)
tree418f2138ade42fe56edbc1891c7a9e51f4979626 /editors/aewan
parentUpdate to version 5.4.8 (diff)
Fix build on 4-x
PR: ports/71296 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=118007
Diffstat (limited to 'editors/aewan')
-rw-r--r--editors/aewan/files/patch-aeff.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/aewan/files/patch-aeff.c b/editors/aewan/files/patch-aeff.c
new file mode 100644
index 000000000000..0eb24d80994a
--- /dev/null
+++ b/editors/aewan/files/patch-aeff.c
@@ -0,0 +1,16 @@
+--- aeff.c.orig Wed Aug 11 10:04:50 2004
++++ aeff.c Thu Sep 2 23:56:24 2004
+@@ -187,11 +187,12 @@
+ static bool aeff_read_mark(AeFile *f, const char *mark_name, char pref) {
+ char *line;
+ char *s;
+- zfree(&err_string);
+
+ autod_begin;
+ autod_register(line, free);
+
++ zfree(&err_string);
++
+ autod_assign(line, freadline_ex(f->f, gzgetc));
+
+ /* if EOF was reached before anything could be read, something is wrong */