Hi ek2, No I don't think so, you don't specify the verison of ksh93 that you looked at, I've gone pack to ksh93r which looks like it's from a bit before you reported it and that has the code you list, at line 519 - of name.c, not main.c :
514 if((nq = (*fp->disc->createf)(np,cp+1,flags,fp)) == np) 515 { 516 add = NV_ADD; 517 break; 518 } 519 else if(np=nq) 520 c = *(cp=dp->last=fp->last); and I think that's still valid; 514: That assigns nq with the value of creatf AND compares it with np 515-518 gets executed if the value of creatf matches the np value 519 That assigns the new nq to np, and executes the code at 520 iff nq (and therefore now np) is non-null horrible code, but I don't see an error there. Dave -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/218837 Title: Assigning instead of Comparing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ksh/+bug/218837/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs