wok-6.x annotate rawstudio/stuff/rawstudio-const.patch @ rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
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);