From 88015bf06b342b34b0b4de833af3ba40acfd2f74 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 26 Dec 2002 05:59:06 +0000 Subject: [PATCH] ("@output ".*\n): Close any old yyout before opening a new one. This fixes Debian bug 156349, reported by Bruce Stephens. --- src/scan-skel.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scan-skel.l b/src/scan-skel.l index 80849d37..fd9bd4c6 100644 --- a/src/scan-skel.l +++ b/src/scan-skel.l @@ -60,6 +60,7 @@ int skel_lex (void); XFREE (outname); outname = xstrdup (filename); + xfclose (yyout); yyout = xfopen (outname, "w"); lineno = 1; } -- 2.45.2