summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 18:35:35 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 18:35:35 -0500
commitd5e1fa835e46dac2e1729e73c5e6743ef78714c7 (patch)
tree656a1c893b9930f444761c2811b1fc57fccd6802 /src/locale
parent7cdd27f8dce39bed37a266fa578cfaedce0a015d (diff)
fix to compile under c89
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/__load_locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/__load_locale.c b/src/locale/__load_locale.c
index 0f6bd496..89fbd8a9 100644
--- a/src/locale/__load_locale.c
+++ b/src/locale/__load_locale.c
@@ -25,7 +25,7 @@ char * __load_locale(struct __locale_t *loc, int mask, const char *name)
char localepath[FILENAME_MAX] = "/lib/locale/";
strcat(localepath, name);
- FILE *localefile = NULL; //fopen(localepath, "rb");
+ FILE *localefile = fopen(localepath, "rb");
if (localefile == NULL && strcmp(name, "C") && strcmp(name, "POSIX")) {
return NULL;
}