Hi all,
I have noticed that my /tmp is full of quilt_refresh.* files. After
investigation, it turns out that quilt refresh leaks temporary files
when you refresh a patch which didn't need to be ("Patch X is
unchanged"). Attached is a patch against quilt CVS, which fixes the
problem.
According to CVS, the bug seems to be there since February 2nd, 2004,
it's somewhat strange that it wasn't spotted earlier. But maybe I am the
only one frantically refreshing patches when they don't need to be ;)
Thanks,
--
Jean Delvare
Index: quilt/refresh.in
===================================================================
RCS file: /cvsroot/quilt/quilt/quilt/refresh.in,v
retrieving revision 1.38
diff -u -r1.38 refresh.in
--- quilt/refresh.in 29 Apr 2005 07:29:00 -0000 1.38
+++ quilt/refresh.in 22 May 2005 14:18:10 -0000
@@ -281,7 +281,7 @@
@DIFF@ -q $patch_file $tmp_result > /dev/null
then
printf $"Patch %s is unchanged\n" "$(print_patch $patch)"
- exit 0
+ die 0
fi
if ( [ -n "$QUILT_BACKUP" -a -e $patch_file ] && \
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev