Things you didn't know about C, #7212:
There is no sane way to get sscanf to tell you how many characters were consumed, if you want to allow a variable number of arguments. The special format %n is patently useless for this, because you have to insert it at every conceiveable point in the string and that presumes full explicit whitespace markup. Parse -w argument "by hand", to catch illegal input like "1,INF,15" Tripped over by: Stein Ove Rosseland <steinove@vg.no> Fixes: ticket #82 git-svn-id: http://www.varnish-cache.org/svn/trunk@1239 d4fa192b-c00b-0410-8231-f00ffab90ce4
Showing
Please register or sign in to comment