[Koha-bugs] [Bug 12081] tmpl_process3.pl delete temp files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 16 13:19:59 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12081

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 27166
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27166&action=edit
Bug 12081 - tmpl_process3.pl - delete temp files

This patch enable deletion of temp files used by
tmpl_process3.pl.
Just removed coments on existing code

To test:
1. Do a count of files on /tmp ( ls /tmp | wc -l )
2. Update preferred language
3. Count again, new files on /tmp
4. Apply the patch
5. Update again, check, no new files

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

NOTE: I watched what temp files were actually in /tmp to make
      sure other processes didn't magically increase/decrease
      the number.
          $ perl translate update {lang code}
      generated 10 temporary files for me (2x5 po files). After
      removing those ten files, and applying the patch, no
      other files were generated.

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
These lines has been commented by commit
a399dcefad193fc21ef2dc1fe31d07686ab2da46 without any apparent good
reason.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list