Skip to content

gslice: Inline win32 implementation of g_getenv() to avoid deadlock

Philip Withnall requested to merge pwithnall/glib:2225-slice-getenv-win32 into master

The win32 implementation of g_getenv() uses GSlice (from within GQuark), which results in a deadlock when examining the G_SLICE environment variable.

Fix that by inlining a basic implementation of g_getenv() at that call site.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2225 (closed)

Merge request reports

Loading