Ticket #89 (closed Defect: fixed)

Opened 4 months ago

Last modified 2 months ago

TMP variable initialized after it is used

Reported by: UnFleshed One Assigned to: taj
Priority: Medium Milestone: 1.3
Component: main Version: 1.2.5
Severity: Normal Keywords:
Cc:

Description

In apkg-funclib, WORKING_DIRECTORY can be set up using TMP, but TMP itself is setup few lines below.

This results in makepackage leaving bunch of autopackage.$RANDOM$$ leftovers in current directory.

Patch attached. With patch at least it leaves those dirs in /tmp. (Why is it leaving them at all is another bug I guess.)

Attachments

apkg-funclib.patch (172 bytes) - added by UnFleshed One on 05/30/08 13:25:34.

Change History

05/30/08 13:25:34 changed by UnFleshed One

  • attachment apkg-funclib.patch added.

06/01/08 04:39:07 changed by isak

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.2.6.

Thanks for the patch. Applied in r2464.

08/01/08 20:02:18 changed by Jan-Nik

  • milestone changed from 1.2.6 to 1.3.

Milestone 1.2.6 deleted