* locale/programs/charmap.c (charmap_read): Find charmap also in
the standard directory.
2000-02-16 Ulrich Drepper <drepper@redhat.com>
+ * locale/programs/charmap.c (charmap_read): Find charmap also in
+ the standard directory.
+
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
__syscall_mmap2.
}
}
}
+
+ if (cmfile == NULL)
+ {
+ /* Try the default directory. */
+ char path[sizeof (CHARMAP_PATH) + strlen (filename) + 1];
+
+ stpcpy (stpcpy (stpcpy (path, CHARMAP_PATH), "/"), filename);
+ cmfile = lr_open (path, charmap_hash);
+ }
}
}