1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/editors/aewan/files/patch-aeff.c
Kirill Ponomarev f2986e0f03 Fix build on 4-x
PR:		ports/71296
Submitted by:	Ports Fury
2004-09-03 08:01:20 +00:00

17 lines
442 B
C

--- 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 */