Bug 9266

Summary: Older mktemp causes a hang in xdg-icon-menu
Product: Portland Reporter: Damon Courtney <damon>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 1.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Damon Courtney 2006-12-06 10:05:29 UTC
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
Comment 1 Waldo Bastian 2007-06-24 15:58:44 UTC
Fixed in xdg-utils 1.0.2

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.