This is what i found amongst teamgit code : int ret;
again:
while(1){
ret =::read(pty.masterFd(),data,1023);
array.append(data);
if(ret != 0)
break;
goto again;
}
Can you spot the silly BAIN DOING with goto?
The commit log 3f892c3e... now reads
"Removed ediotic goto DUH!!"

Comments
Post new comment