[net.bugs.4bsd] mv bug

salkind (09/08/82)

In the routine mvdir(), change:

		strcat(dst, target);		<< change this line >>
  		strcat(dst, "/");
  		strcat(dst, DOTDOT);
to
		strcpy(dst, target);
  		strcat(dst, "/");
  		strcat(dst, DOTDOT);

This causes a mv of directories to possibly fail (since dst is
allocated space on the stack).

This bug also exists on v7 systems.

	Lou Salkind