iwadon/ninja — comment on commit e56b50c548f46b96a37e6e6b685ab6d60a989eb4
File:  line 0
By iwadon:

I am sorry for my careless miss. The previous code has a bug. (B) is too fast.
https://ideone.com/lDobK
I recommend (A) or (B).