Re:Fixing a 37-year-old bug by merging a 22-year-old fix
by mbreese on Wednesday October 08, 2014 @04:05PM
(#8429157)
It's not a while loop... well, maybe a "while 1 {}" loop.
It's closer to an iterator over argv.
First, it sets the firsttime=1 flag, then it tries to open the first argument (file). After the first arg, it sets firsttime=0. It only breaks out of the loop once argv is exhausted.
It's closer to an iterator over argv.
First, it sets the firsttime=1 flag, then it tries to open the first argument (file). After the first arg, it sets firsttime=0. It only breaks out of the loop once argv is exhausted.