Ron Blaschke <[EMAIL PROTECTED]> wrote:
> I'd like to clean up string_init, because it currently backfires
> (segfaults) on Windows if parrot is installed (empty
> DEFAULT_ICU_DATA_DIR ...).

Why is DEFAULT_ICU_DATA_DIR empty? Where is icu actually and which
config variable is pointing at it?

Is this happening with C<--prefix> set or not?

> Could someone please tell me what string_init is supposed to do, where
> it _should_ look for the ICU data directory (if at all)?
>     ...
>     build_path = data_dir = const_cast(DEFAULT_ICU_DATA_DIR);
>     /*
>      * if the installed --prefix directory exists then use it
>      */
>     prefix = Parrot_get_runtime_prefix(interpreter, NULL);
>     if (prefix) {
>         p = strstr(build_path, "blib");        /* .../blib/lib/... */
>         assert(p);

If there are other cases (system ICU or whatever) they should be
included here instead of the assert.

> Ron

leo

Reply via email to