diff options
-rw-r--r-- | deskutils/xmdiary/scripts/nomalloc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deskutils/xmdiary/scripts/nomalloc b/deskutils/xmdiary/scripts/nomalloc index 05c7394e819b..7a49b3d2999d 100644 --- a/deskutils/xmdiary/scripts/nomalloc +++ b/deskutils/xmdiary/scripts/nomalloc @@ -3,8 +3,7 @@ for f in `find $1 -type f -name \*.\[ch\] -print | xargs grep -l malloc.h` do -patch -p << END_OF_PATCH ---- $f.orig +patch -p0 << END_OF_PATCH +++ $f @@ -10,1 +10,1 @@ -#include <malloc.h> |