Bug 9266 - Older mktemp causes a hang in xdg-icon-menu
Summary: Older mktemp causes a hang in xdg-icon-menu
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 10:05 UTC by Damon Courtney
Modified: 2007-06-24 15:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.