Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!houxm!ho3cad!ekb From: ekb@ho3cad.UUCP (#ERIC K. BUSTAD ) Newsgroups: net.mail Subject: Re: help with pathalias needed Message-ID: <478@ho3cad.UUCP> Date: Mon, 29-Sep-86 10:06:47 EDT Article-I.D.: ho3cad.478 Posted: Mon Sep 29 10:06:47 1986 Date-Received: Tue, 30-Sep-86 21:13:47 EDT References: <477@ho3cad.UUCP> Organization: AT&T Bell Laboratories, Holmdel Lines: 20 Bob Eby (pegasus!eby) has sent me the following fix to get pathalias to work on our 3B20S: There is a minor bug in parse.y which prevents pathalias from working on the 3b20. At around line 199, change the the declaration of "buf" to "static char buf[BUFSIZ]". "errbuf" does not have to be declared static. This was all I needed to get pathalias to run on our 3b20's. "buf" is used by yylex() to hold names read from the input and a pointer to it is returned to yyparse() in the yylval structure. Because it is a local variable of yylex(), it must be declared as "static" so that it still exists afer yylex() returns. Much thanks, Bob! = Eric Bustad AT&T Bell Laboratories Holmdel NJ 07733-1988 (201)949-6257 ekb@ho3cad.ATT.COM or ihnp4!ho3cad!ekb