Setting G_SLICE makes Windows programs hang since 2.66
Downstream issues:
- https://github.com/harfbuzz/harfbuzz/issues/2697
- https://github.com/msys2/MINGW-packages/issues/7118
Reproducer:
#include <glib.h>
int main(int argc, char** argv) {
g_print("Test\n");
}
$ gcc test.c -o test $(pkg-config --cflags --libs glib-2.0)
$ G_SLICE=' ' ./test.exe
# hangs...
Bisected to c3c2c313 @nirbheek
Reverting that commit on top of 2.66.1 makes it work again.