ceriel 37 年之前
父節點
當前提交
bcb04a1a76
共有 3 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      util/ack/Makefile
  2. 1 1
      util/ack/ack.1.X
  3. 1 0
      util/ack/grows.c

+ 1 - 1
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 \

+ 1 - 1
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".

+ 1 - 0
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 ;
 }