http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html says
that the configuration directory should have mode 0700, so use that.
Reported by John Darrington.
to want to put files there. */
dirname = g_get_user_config_dir ();
if (stat (dirname, &s) == -1 && errno == ENOENT)
to want to put files there. */
dirname = g_get_user_config_dir ();
if (stat (dirname, &s) == -1 && errno == ENOENT)
conf->filename = g_strdup_printf ("%s/%s", dirname, "psppirerc");
conf->filename = g_strdup_printf ("%s/%s", dirname, "psppirerc");