wok-next view rawstudio/stuff/rawstudio-const.patch @ rev 15501

connman: kill dhcpd before starting
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:55:13 2013 +0100 (2013-11-17)
parents
children
line source
1 diff -Nur rawstudio-1.2.orig/src/dcraw.cc rawstudio-1.2/src/dcraw.cc
2 --- rawstudio-1.2.orig/src/dcraw.cc 2009-04-10 00:21:45.000000000 +0300
3 +++ rawstudio-1.2/src/dcraw.cc 2009-07-16 00:05:28.169155134 +0300
4 @@ -8510,7 +8510,7 @@
5 argv[argc] = "";
6 for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
7 opt = argv[arg++][1];
8 - if ((cp = strchr (sp="nbrkStqmHACg", opt)))
9 + if ((cp = (char *)strchr (sp="nbrkStqmHACg", opt)))
10 for (i=0; i < "114111111422"[cp-sp]-'0'; i++)
11 if (!isdigit(argv[arg+i][0])) {
12 dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);