Package: unifdef
Version: 1.0+20080502-1
Severity: normal
Tags: patch fixed-upstream

Whenever I run unifdefall, I get another directory in /tmp like these:

 $ ls /tmp/unifdef*
 /tmp/unifdefall.I82UDfnl:
 alldef  ctrl  hashdefs  undef

 /tmp/unifdefall.TLmf06TJ:
 alldef  cmd  ctrl  def  hashdefs  undef

 /tmp/unifdefall.cHXm7Mib:
 alldef  ctrl  hashdefs  undef

I assume this is because unifdefall uses 'set -e' (good) but does not
install an exit handler to clean up after itself (not good).  This
behavior was fixed upstream in unifdef 1.188

http://git.debian.org/?p=collab-maint/unifdef.git;a=commitdiff;h=c260a3f3;hp=0c4405#patch6

by adding a

 trap 'rm -r "$tmp" || exit 1' EXIT

line right after $tmp is created.

Thank you for packaging unifdef; it’s a nice tool, and I probably never
would have discovered it if it had not been available for Debian.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to