unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar via Libc-alpha <libc-alpha@sourceware.org>
To: Patrick McCarty <patrick.mccarty@intel.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] iconvconfig: Fix behaviour with --prefix [BZ #28199]
Date: Wed, 11 Aug 2021 12:46:15 +0530	[thread overview]
Message-ID: <98ebb7f2-ffd5-e300-d3a9-191b69be9d37@sourceware.org> (raw)
In-Reply-To: <YRNzmzHiwa4tPuXm@intel.com>

On 8/11/21 12:22 PM, Patrick McCarty via Libc-alpha wrote:
> On 2021-08-09 at 11:57:40 +0530, Siddhesh Poyarekar wrote:
>> The consolidation of configuration parsing broke behaviour with
>> --prefix, where the prefix bled into the modules cache.  Accept a
>> prefix which, when non-NULL, is prepended to the path when looking for
>> configuration files but only the original directory is added to the
>> modules cache.
>>
>> This has no effect on the codegen of gconv_conf since it passes NULL.
>>
>> Reported-by: Patrick McCarty <patrick.mccarty@intel.com>
>> Reported-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
>> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
>> ---
>>   iconv/gconv_conf.c         |  2 +-
>>   iconv/gconv_parseconfdir.h | 21 +++++++++++++++------
>>   iconv/iconvconfig.c        | 16 ++++++++++++----
>>   3 files changed, 28 insertions(+), 11 deletions(-)
> 
> Testing the patch locally, I see that the prefix is now absent from the
> modules cache, so this change looks good on my end.

Thank you for testing Patrick and Michael.  I'll push this to master and 
the 2.34 branch once I get a code review.

Siddhesh

  reply	other threads:[~2021-08-11  7:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  6:27 [PATCH] iconvconfig: Fix behaviour with --prefix [BZ #28199] Siddhesh Poyarekar via Libc-alpha
2021-08-09 21:44 ` Michael Hudson-Doyle via Libc-alpha
2021-08-11  6:52 ` Patrick McCarty via Libc-alpha
2021-08-11  7:16   ` Siddhesh Poyarekar via Libc-alpha [this message]
2021-08-17  2:58 ` [PING][PATCH] " Siddhesh Poyarekar
2021-08-23  2:55   ` [PING2][PATCH] " Siddhesh Poyarekar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98ebb7f2-ffd5-e300-d3a9-191b69be9d37@sourceware.org \
    --to=libc-alpha@sourceware.org \
    --cc=patrick.mccarty@intel.com \
    --cc=siddhesh@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).