[Tracker] [PATCH] tempfiles left by trackerd



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here is a (very) small patch that removes temporary (image) files left
by wvText when called against msword files that contain embedded images.

B.




Index: filters/application/msword_filter
===================================================================
RCS file: /cvs/gnome/tracker/filters/application/msword_filter,v
retrieving revision 1.3
diff -u -8 -p -r1.3 msword_filter
- --- filters/application/msword_filter   21 Sep 2006 16:23:40 -0000
 1.3
   filters/application/msword_filter   10 Jan 2007 08:30:21 -0000
@@ -1,6  1,8 @@
#!/bin/sh

umask 077
cp "$1" /tmp/tempfile.$$
nice -n19 wvText /tmp/tempfile.$$ "$2"
rm /tmp/tempfile.$$
# remove temporary included image files left by wvText
rm `pwd "$2"`/tempfile.$$*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFpKf0lb FmdHqksMRAvs/AKCAVhZ7gttGiU0LloSz5MOzHrgKPQCeLvvU
Ejtsdhs9tGjvukJnl iugVs=
=y/RA
-----END PGP SIGNATURE-----

_________________________________________________________________
Saviez-vous que Windows Live Messenger est disponible dès maintenant sur votre GSM ? http://get.live.com/messenger/mobile




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]