[Bug 17318] winemenubuilder fails to create proper menu structure
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Feb 8 22:57:20 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17318
Damjan Jovanovic <damjan.jov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Difficulty|--- |Minutes
--- Comment #1 from Damjan Jovanovic <damjan.jov at gmail.com> 2009-02-08 22:57:19 ---
The bug starts ealier in the write_menu_file() function, where tempfilename is
generated:
tempfilename = tempnam(xdg_config_dir, "_wine");
You'll note that the directory is passed as xdg_config_dir, not /tmp. But the
tempnam() function will first examine the environment variable $TMPDIR and use
that, and only if that environment variable isn't set, try the passed
directory.
I could unset $TMPDIR before and set it after calling tempnam() to force it to
use xdg_config_dir.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list