diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/watchfolder/files/0.3.3-64bit.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/watchfolder/files/0.3.3-64bit.patch')
-rw-r--r-- | app-admin/watchfolder/files/0.3.3-64bit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/watchfolder/files/0.3.3-64bit.patch b/app-admin/watchfolder/files/0.3.3-64bit.patch new file mode 100644 index 000000000000..070e9c019d26 --- /dev/null +++ b/app-admin/watchfolder/files/0.3.3-64bit.patch @@ -0,0 +1,11 @@ +--- a/watchd.c 2006-02-23 12:33:32.000000000 -0500 ++++ b/watchd.c 2006-02-23 12:45:30.000000000 -0500 +@@ -176,7 +176,7 @@ + // free(p2tmp); + + p2tmp=strchr(p2,0xa); // Not very nice, +- p2[(int)p2tmp-(int)p2]=0x00; // but in fact: It works ;) ++ *(p2+(p2tmp-p2))=0x00; // but in fact: It works ;) + + while (p2[0]==' ') {p2++;} // Again, quick and dirty.. + while (p1[strlen(p1)-1]==' ') {p1[strlen(p1)-1]=0;} // Need to say anything?;) |