Parent Directory | Revision Log | Patch
revision 973 by astrand, Thu Aug 4 12:44:10 2005 UTC | revision 974 by astrand, Thu Aug 4 12:50:15 2005 UTC | |
---|---|---|
# | Line 166 xkeymap_from_locale(const char *locale) | Line 166 xkeymap_from_locale(const char *locale) |
166 | FILE *fp; | FILE *fp; |
167 | ||
168 | /* Create a working copy */ | /* Create a working copy */ |
169 | str = strdup(locale); | str = xstrdup(locale); |
if (str == NULL) | ||
{ | ||
perror("strdup"); | ||
exit(1); | ||
} | ||
170 | ||
171 | /* Truncate at dot and at */ | /* Truncate at dot and at */ |
172 | ptr = strrchr(str, '.'); | ptr = strrchr(str, '.'); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |