]> git.pld-linux.org Git - packages/cancd.git/blame - cancd-nullterminate.patch
- unified %clean section
[packages/cancd.git] / cancd-nullterminate.patch
CommitLineData
2c30b8fe
ER
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.276881 seconds and 4 git commands to generate.