bug in AT&T Toolchest version of vsh

Joe Steffen steffen at ihuxx.UUCP
Wed Jul 31 01:59:19 AEST 1985


There is a bug in the AT&T Toolchest version of vsh that prevents it from
finding the help files.  In help.c, change:

	/* get the help file pathname */
	if ((s = getenv("TOOLS")) != 0) {
		strcpy(pathname, s);
		strcat(pathname, "/");
	}
	strcat(pathname, parm);
	
to:

	/* get the help file pathname */
	if ((s = getenv("TOOLS")) != 0) {
		strcpy(pathname, s);
		strcat(pathname, "/");
		strcat(pathname, parm);
	}
	else {
		strcpy(pathname, parm);
	}

or, more simply:

	/* get the help file pathname */
	strcpy(pathname, parm);

The TOOLS code was added for our experimental tools (exptools) version,
unfortunately it added a latent bug for the regular version.

This version of vsh is Dave Scheibelhut's original plus my enhancements.
-- 


	Joe Steffen, AT&T Bell Labs, Naperville, IL, (312) 979-5381



More information about the Net.bugs mailing list