Re: ksh 641 should be read-only

2016-05-27 Thread Anthony Coulter
> ksh won't start after this change. The problem is that it will try to > assign the return value of getppid() to PPID *after* PPID was made read > only. Such is the price of not testing last-minute changes. When ksh processes a typeset command, it sets the read-only flag before attempting to

Re: ksh 641 should be read-only

2016-05-27 Thread Theo Buehler
On Thu, May 26, 2016 at 11:00:39PM -0400, Anthony Coulter wrote: > The man page for ksh says that ${PPID} should be read-only but > apparently it is not. There is also a line nearby that is more > than 80 characters long but I'm not comfortable enough with KNF > to select the best way to fix that.

ksh 641 should be read-only

2016-05-27 Thread Anthony Coulter
The man page for ksh says that ${PPID} should be read-only but apparently it is not. There is also a line nearby that is more than 80 characters long but I'm not comfortable enough with KNF to select the best way to fix that. Index: main.c