delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <1328815786.2032.39.camel@YAAKOV04> |
Subject: | Re: help2man 1.40.4-1 and cygintl-8.dll |
From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
To: | cygwin AT cygwin DOT com |
Date: | Thu, 09 Feb 2012 13:29:46 -0600 |
In-Reply-To: | <4F33E90C.9060505@lysator.liu.se> |
References: | <4F33E90C DOT 9060505 AT lysator DOT liu DOT se> |
Mime-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Thu, 2012-02-09 at 16:41 +0100, Peter Rosin wrote: > I happened to look in the help2man package and found that it > contained a file cygintl-8.dll. Here are the first few files > in the help2man package: > > Thu Dec 29 07:25:27 2011 0 usr/ > Thu Dec 29 07:25:27 2011 0 usr/bin/ > Thu Dec 29 07:25:27 2011 17540 usr/bin/help2man > Thu Dec 29 07:25:27 2011 0 usr/lib/ > Thu Dec 29 07:25:33 2011 0 usr/lib/help2man/ > Thu Dec 29 07:25:27 2011 0 usr/lib/help2man/bindtextdomain.so -> cygintl-8.dll > Thu Dec 29 07:25:33 2011 7694 usr/lib/help2man/cygintl-8.dll This is necessary in order to make help2man's LD_PRELOAD hack work. bindtextdomain.so is meant to override a couple of gettext functions (in order to use uninstalled message catalogs), but that won't work on Cygwin unless the DLL names match, which necessitated adding pass-through wrappers to the other functions as well. I suggest looking at my patches if you want to understand exactly what's happening here. > It's not good to have two different paths to the same dll, right? Since the LD_PRELOAD hack will only be used briefly and rarely, and the real cygintl-8.dll is already loaded as a dependency of sh/bash, I don't see any practical problem here; I certainly didn't encounter any when testing this hack. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |