Bug nalezen: isprint() vs diakriticka znamenka
Michal Hucik
chaky na goliash.inext.cz
Pondělí Září 7 12:40:31 CEST 1998
Omlouvam se vsem ze s tim porad jeste otravuji, ale nalezl jsem zdroj
problemu. Podobna cinnost se uvnitr programu vyskytuje vicekrat:
-------
/* We need this so that numbers are written in C syntax rather than the
current locale, which may use ',' instead of '.' and then the code
will not compile. This code is from glibc info docs. */
GbStatusCode
source_write (gchar * project_name, gchar * directory)
{
gchar *old_locale, *saved_locale;
GbStatusCode status;
old_locale = setlocale (LC_ALL, NULL);
saved_locale = g_strdup (old_locale);
setlocale (LC_ALL, "C");
status = real_source_write (project_name, directory);
setlocale (LC_ALL, saved_locale);
g_free (saved_locale);
return status;
}
-------
--
"http://www.inext.cz/www/chaky/", "mailto:chaky na vs.inext.cz"
---=== Beskyde, Beskyde, kdo po tobe SCSI ... ? ===---
Další informace o konferenci Linux