From a076248389c82276e079756bee26c011b03f70f2 Mon Sep 17 00:00:00 2001 From: Byron Rakitzis Date: Mon, 7 Mar 1994 00:00:01 +0000 Subject: beta: rc-1.5betadev1 --- README | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 401fa8f..bbb1c9e 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is release 1.4 of rc. +This is release 1.5 of rc. Read COPYRIGHT for copying information. All files are @@ -63,6 +63,17 @@ to get rc to work in a reasonable fashion on a real (i.e., commercial, non-Labs) UNIX system; a few were changes motivated by concern about some inadequacies in the original design. +YACC + +The yacc that Sun ships with SunOS 4.1.1 calls malloc() to allocate +space for the state stack, and requires a call to YYACCEPT or YYABORT +to free this memory. This means that if rc takes an interrupt while +parsing a command (say, if ^C is typed), yacc will leak away this +memory. The solution is to use a yacc which statically allocates +this array, such as the yacc in the BSD distribution. Berkeley yacc- +generated y.tab.c and y.tab.h are shipped with rc in case you cannot +get hold of Berkeley yacc. + OLD C If you need to convert rc's source into K&R C, you need to run the -- cgit v1.2.3