[Portland-bugs] [Bug 9266] New: Older mktemp causes a hang in xdg-icon-menu

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Wed Dec 6 10:05:31 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=9266          
     
           Summary: Older mktemp causes a hang in xdg-icon-menu
           Product: Portland
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: damon at tclhome.com


Older versions of mktemp required a template, but xdg-utils is relying on the
newer versions which default the template if none is specified.  This is causing
the script to hang indefinitely because the tmpfile variable is empty when it
reaches the 'cat $tmpfile' line.  cat will just hang forever waiting for input
from stdin.

This can be fixed by specifying the same template that the newer mktemp's
already use:

mktemp /tmp/tmp.XXXXXXXXXX          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland-bugs mailing list