1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/sysutils/contool/files/patch-05

36 lines
734 B
Plaintext
Raw Normal View History

--- filters.c.orig Thu Feb 24 09:55:37 1994
+++ filters.c Sun Jan 5 13:51:25 1997
@@ -25,12 +25,17 @@
#include <stdio.h>
#include <string.h>
+#include <sys/param.h>
#include <xview/xview.h>
#include <xview/panel.h>
#include <xview/notice.h>
#include <xview/xv_xrect.h>
+#if (defined(BSD) && (BSD >= 199306))
+#include <regex.h>
+#endif
+
#include "manifest.h"
#include "contool.h"
#include "contool_ui.h"
@@ -122,8 +127,14 @@
{
cond_free(f->start);
+#if (defined(BSD) && (BSD >= 199306))
+ regfree(f->start_re);
+#endif
cond_free(f->start_re);
cond_free(f->stop);
+#if (defined(BSD) && (BSD >= 199306))
+ regfree(f->stop_re);
+#endif
cond_free(f->stop_re);
cond_free(f->command);
cond_free(f->comment);