[Koha-bugs] [Bug 713] New: Install.pm depends on mktemp(1) but doesn't check if it exists

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Mon Feb 9 23:46:39 CET 2004


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=713

           Summary: Install.pm depends on mktemp(1) but doesn't check if it
                    exists
           Product: Koha
           Version: CVS
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Installation
        AssignedTo: tonnesen at cmsd.bc.ca
        ReportedBy: a.c.li at ieee.org
         QAContact: koha-bugs at lists.sourceforge.net


Install.pm uses mktemp(1) but doesn't check whether this command actually exists
or not, whether before its use or after its use.

On a system without mktemp(1), this manifests as 

Use of uninitialized value in scalar chomp at Install.pm line 120.

and 

Use of uninitialized value in -e at Install.pm line 2085, <STDIN> line 32.

(I "fixed" the latter in CVS before I figured out what the real problem is.)



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Koha-bugs mailing list