From f50fa96eef22374751a209af82de9440825c2103 Mon Sep 17 00:00:00 2001 From: alm Date: Sat, 8 May 1993 10:08:44 +0000 Subject: [PATCH] fixed HS initialization bug; swapping HS (`x') before a hold (`h') command set the pattern space to NULL --- usr.bin/sed/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index e94b74bcc3ea..75b08dcde8e8 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -57,7 +57,7 @@ static char sccsid[] = "@(#)process.c 5.10 (Berkeley) 12/2/92"; #include "defs.h" #include "extern.h" -static SPACE HS, PS, SS; +static SPACE HS = {""}, PS, SS; #define pd PS.deleted #define ps PS.space #define psl PS.len