Bug in mesg(1) ? and ?fix? - (nf)

utzoo!decvax!harpo!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uicsovax!edwards utzoo!decvax!harpo!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uicsovax!edwards
Sat Jan 15 00:27:56 AEST 1983


#N:uicsovax:2200008:000:375
uicsovax!edwards    Jan 14 23:29:00 1983

	I may have found a bug in mesg(1).  The function argument
  for the newmode call should be unsigned:

	newmode(m)
	unsigned int m;
	{
		if(chmod(tty,m)<0)
			error("cannot change mode");
	}

  If it isn't declared as unsigned--biff(1) and mesg(1) won't function
  separately (But then that may have been planned.)


				Alan Edwards
				(...pur-ee!uiucdcs!uicsovax!edwards)




More information about the Comp.bugs.4bsd.ucb-fixes mailing list