[net.general] bug fix to pathalias/makelink.c

smb (06/21/82)

Several folks have pointed out that the -o option doesn't work properly.
Below is a fix to makelink.c, supplied courtesy of azure!randals:


	1c1
	< static char Sccsid[] = "@(#)makelink.c	2.1";
	---
	> static char Sccsid[] = "@(#)makelink.c	3.1";
	28c28,29
	< 			if (oneflag) addlink(l->l_to, n, l->l_cost, l->l_ind);
	---
	> 			if (oneflag)
	> 				addlink(l->l_to, n, l->l_cost, l->l_ind, l->l_dir);


I'll be sending out a new database in a week or two; any new data will
be gratefully included.

		--Steve