Non-cached calls to xdgRuntimeDirectory use wrong env. variable
Bug #1821670 reported by
Ed Bruck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxdg-basedir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
xdgRuntimeDirectory uses wrong environment variable when called with a null handle. My understanding is that it should use XDG_RUNTIME_DIR instead of XDG_RUNTIME_
const char * xdgRuntimeDirec
{
if (handle)
return xdgGetCache(
else
return xdgEnvDup(
}
Calling with NULL returns a NULL pointer, because XDG_RUNTIME_
To post a comment you must log in.