The source has
ttybuf[2] =& ~010;
Which is another bug.
What's the bug? If you're referring to the =& syntax, then that's just how &= used to be written in older versions of C.