> Chip Salzenberg <chip@pobox.com>: > > According to Mark-Jason Dominus: > > > I suggested (setproctitle!=main) because it seemed to me that there > > > was no way any compiler could possibly optimize away the comparision: > > > > I agree. OTOH, I don't think this works: > > > > > extern int main(); > > > int (*setproctitle)() = main; > > > > You are mistaken. No, I am mistaken. I thought I'd tested it, but I must have made a mistake. I apologize for calling you superstitious. This is exactly what happened to me last time I was snotty to you in a public forum. I hope the lesson sticks this time.Thread Previous | Thread Next