1 --- xdg-user-dirs-0.10-bak/xdg-user-dirs-update.c.orig 2008-03-26 12:32:44.000000000 +0900
2 +++ xdg-user-dirs-0.10-bak/xdg-user-dirs-update.c 2008-08-21 00:00:14.198461000 +0900
3 @@ -718,7 +718,7 @@ save_locale (void)
4 locale = strdup (setlocale (LC_MESSAGES, NULL));
5 /* Skip encoding part */
6 dot = strchr (locale, '.');
8 + if (dot && (filename_encoding == NULL))
10 fprintf (file, "%s", locale);