Bug#724731: g_get_user_runtime_dir () bug

Gabriel Mainberger gabisoft at freesurf.ch
Wed Oct 23 07:07:42 UTC 2013


Dear all

This must be a bug in the function g_get_user_runtime_dir () relating 
Glib. I have wrote a small piece of code:

user at machine:~/Work$ cat run.c
#include <glib.h>

void main()
{
         g_printf("%s\n", g_get_user_runtime_dir ());
}

user at machine:~/Work$ gcc `pkg-config --cflags --libs glib-2.0` -o run run.c

user at machine:~/Work$ ./run
/run/user/0

Which should be /run/user/1000 for my user!

Regards,
Gabriel



More information about the pkg-gnome-maintainers mailing list