upvote
For good reason -- it was buggy! It used the wrong stack. They fixed it in V7.

I was a UNIX kernel hacker working for Interactive Systems Corporation. I studied and hand simulated that code, understood it, and saw that it was buggy, but I don't remember whether that was before or after I saw the fix in the V7 kernel code.

reply
And the comment was as Wikipedia page explains, just a Lions note his students not to worry being asked in exam.

https://en.wikipedia.org/wiki/A_Commentary_on_the_UNIX_Opera...

reply
No, the comment wasn't Lions', it was in UNIX.
reply
Yes, you are correct. It was Richie who wrote it. My bad. But Richie intention was same, viewing from Lions point it was perhaps same. He didn't expect his students to understand that part.
reply
Not really, they just didn't have setjmp/longjmp yet, they used something else. The real thing you weren't meant to understand was why a routine that was never called returning a value and mostly didn't return a value had to return "1" at that particular point

https://www.taniwha.com/~paul/not.html

(I worked for another competitor, UniSoft, SCO ripped us off too, on the 286 port)

reply