]> git.pld-linux.org Git - packages/vde2.git/blob - vde2-format.patch
- argh, don't name python3 modules as python-
[packages/vde2.git] / vde2-format.patch
1 --- vde2-2.3.2/src/common/cmdparse.c.orig       2011-11-23 17:41:14.000000000 +0100
2 +++ vde2-2.3.2/src/common/cmdparse.c    2012-10-26 23:25:47.215786024 +0200
3 @@ -284,13 +284,13 @@
4                                                                 int i;
5                                                                 for (i=0;i<argc;i++) {
6                                                                         if (i) fprintf(mf," ");
7 -                                                                       fprintf(mf,argv[i]);
8 +                                                                       fprintf(mf,"%s",argv[i]);
9                                                                 }
10                                                         } else {
11                                                                 int num=atoi(t);
12                                                                 while (*t >='0' && *t <= '9') t++;
13                                                                 if (num < argc) 
14 -                                                                       fprintf(mf,argv[num]);
15 +                                                                       fprintf(mf,"%s",argv[num]);
16                                                         }
17                                                 } else
18                                                         fprintf(mf,"%c",*t);
This page took 0.06286 seconds and 3 git commands to generate.