diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-19 21:12:27 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-19 21:12:27 +0000 |
commit | 395a92683590c3f72674471675781afd01d9f7c7 (patch) | |
tree | bdf1cd937d92ac06065e9aeb6c4ad38f4109bddb /module | |
parent | f36e60202981eaccbeda479cb50ebe13dc028b5e (diff) | |
download | iconv-395a92683590c3f72674471675781afd01d9f7c7.tar.gz iconv-395a92683590c3f72674471675781afd01d9f7c7.tar.bz2 |
On RISC OS, use Unicode:, rather than attempting to getenv("Unicode$Path") and concatenating the leafname on the end.
svn path=/trunk/iconv/; revision=5744
Diffstat (limited to 'module')
-rw-r--r-- | module/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/module.c b/module/module.c index 417418c..6f5a3f7 100644 --- a/module/module.c +++ b/module/module.c @@ -409,7 +409,7 @@ int errno_to_iconv_error(int num) const char *get_aliases_path(void) { - char *ucpath; + const char *ucpath; int alen; static char aliases[4096]; @@ -421,7 +421,7 @@ const char *get_aliases_path(void) /* Get !Unicode resource path */ #ifdef __riscos__ - ucpath = getenv("Unicode$Path"); + ucpath = "Unicode:"; #else ucpath = getenv("UNICODE_DIR"); #endif |