From: ceriel Date: Tue, 4 Aug 1987 19:29:28 +0000 (+0000) Subject: fix X-Git-Tag: release-5-5~3952 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bcb04a1a76593dc4691af8e352c9dd28f45f24ea;p=ack.git fix --- diff --git a/util/ack/Makefile b/util/ack/Makefile index ff37a1500..53409a618 100644 --- a/util/ack/Makefile +++ b/util/ack/Makefile @@ -6,7 +6,7 @@ DSRC=list.c data.c main.c scan.c svars.c trans.c util.c rmach.c run.c grows.c\ ISRC=dmach.c intable.c OBJ=list.o data.o main.o scan.o svars.o trans.o util.o rmach.o run.o \ dmach.o intable.o grows.o files.o -ACKDIR=$(EMHOME)/lib/descr +ACKDIR=$(EMHOME)/lib FE=fe INTABLES=pdp int LNTABLES=acc apc abc ocm vax4 i86 m68k2 m68k4 pmds pmds4 mantra \ diff --git a/util/ack/ack.1.X b/util/ack/ack.1.X index 2e12ab263..74504aae0 100644 --- a/util/ack/ack.1.X +++ b/util/ack/ack.1.X @@ -219,7 +219,7 @@ routines for systems calls needed by both C and Pascal. When linking multiple \fI.o\fP or \fI.m\fP files created by separate calls of \fIack\fP together, \fIack\fP cannot deduce the run-time system needed, -unless called as \fIapc\fP, \fIabc\P, \fIocm\fP or \fIacc\fP. +unless called as \fIapc\fP, \fIabc\fP, \fIocm\fP or \fIacc\fP. This flag serves to tell \fIack\fP which runtime system is needed in such a case. For example: "ack \-c x.c ; ack \-.c x.o". diff --git a/util/ack/grows.c b/util/ack/grows.c index d7b3c833f..d42d51fee 100644 --- a/util/ack/grows.c +++ b/util/ack/grows.c @@ -53,6 +53,7 @@ gr_throw(id) register growstring *id ; { /* Throw the string away */ if ( id->gr_max==0 ) return ; freecore(id->gr_string) ; + id->gr_string = 0 ; id->gr_max=0 ; id->gr_size=0 ; }