wok annotate rawstudio/stuff/rawstudio-const.patch @ rev 10259

Add p0f. A passive OS fingerprinting tool.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 04:09:33 2011 +0000 (2011-05-21)
parents
children
rev   line source
slaxemulator@6514 1 diff -Nur rawstudio-1.2.orig/src/dcraw.cc rawstudio-1.2/src/dcraw.cc
slaxemulator@6514 2 --- rawstudio-1.2.orig/src/dcraw.cc 2009-04-10 00:21:45.000000000 +0300
slaxemulator@6514 3 +++ rawstudio-1.2/src/dcraw.cc 2009-07-16 00:05:28.169155134 +0300
slaxemulator@6514 4 @@ -8510,7 +8510,7 @@
slaxemulator@6514 5 argv[argc] = "";
slaxemulator@6514 6 for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
slaxemulator@6514 7 opt = argv[arg++][1];
slaxemulator@6514 8 - if ((cp = strchr (sp="nbrkStqmHACg", opt)))
slaxemulator@6514 9 + if ((cp = (char *)strchr (sp="nbrkStqmHACg", opt)))
slaxemulator@6514 10 for (i=0; i < "114111111422"[cp-sp]-'0'; i++)
slaxemulator@6514 11 if (!isdigit(argv[arg+i][0])) {
slaxemulator@6514 12 dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);