]> git.pld-linux.org Git - packages/cancd.git/blob - cancd-nullterminate.patch
- unified %clean section
[packages/cancd.git] / cancd-nullterminate.patch
1 --- cancd-0.1.0/cancd.c~        2006-06-13 09:29:06.436946340 +0300
2 +++ cancd-0.1.0/cancd.c 2006-06-13 09:29:10.687041938 +0300
3 @@ -169,6 +169,9 @@
4          }
5      }
6  
7 +    /* terminate the format string! */
8 +    *fptr = '\0';
9 +
10      newstr = malloc(sizeof(char) * PATH_MAX);
11      if (!newstr)
12      {
This page took 0.048839 seconds and 3 git commands to generate.