[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] [PATCH] intl: Fix that /@unixroot prefix is not workin

From: Daiki Ueno
Subject: Re: [bug-gettext] [PATCH] intl: Fix that /@unixroot prefix is not working on OS/2 kLIBC
Date: Mon, 05 Dec 2016 16:38:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

KO Myung-Hun <address@hidden> writes:

> OS/2 kLIBC has a feature to rewrite some path components. For example,
> '/@unixroot' is replaced with a value of $UNIXROOT if it is.
> So prepending a drive letter to the path starting with '/' makes the
> path starting with '/@unixroot' to 'x:/@unixroot' which is unexpected.
> This will breaks the behavior of some programs depending on /@unixroot
> prefix.
> * gettext-runtime/intl/bindtextdom.c (BINDTEXTDOMAIN): Do not touch
> dirname if it is started with '/@unixroot'.
> * gettext-runtime/intl/relocatable.c (relocate): Do not touch pathname
> if it is started with '/@unixroot'.
> ---
>  gettext-runtime/intl/bindtextdom.c |  6 ++++++
>  gettext-runtime/intl/relocatable.c | 12 ++++++++++++
>  2 files changed, 18 insertions(+)

Thanks for the patch.  I have pushed it.

Daiki Ueno

reply via email to

[Prev in Thread] Current Thread [Next in Thread]