www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <fjr4t5$5sf$1 AT ger DOT gmane DOT org> <3551E1877C7A4F9EA99799CED176646E AT desktop2> <fjrh39$gej$1 AT ger DOT gmane DOT org> <00e601c83d9a$0cf54e40$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <fjrj5d$ndd$1 AT ger DOT gmane DOT org> |
Subject: | RE: Need help with Perl/Tk |
Date: | Thu, 13 Dec 2007 15:59:37 -0000 |
Message-ID: | <00ed01c83da1$2b3483b0$2e08a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <fjrj5d$ndd$1@ger.gmane.org> |
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 13 December 2007 15:30, Andrew DeFaria wrote: > Dave Korn wrote: >> On 13 December 2007 14:55, Andrew DeFaria wrote: >>>> (When it comes to DynaLoader you gotta learn to read the fine print >>>> and make intuitive leaps :-) >>> Yes but it did indeed state "No such file or directory...". Would it >>> be that hard for DynaLoader.pm to mention exactly which file it was >>> looking for? >> Yes, it would, because that information is not exposed to the >> application; you just call LoadLibrary, and if you get a file not >> found error back, there's no way to determine if it was the library >> DLL itself or one of the dependent DLLs that windows couldn't find. > Well then how about changing the error message to something as > nonsensical as "Unable to find this library, or a library on which this > one depends..." DynaLoader is just spitting out the bog-standard canned error message that perror() returns for ENOENT. There's certainly no reason why it couldn't look out for that particular errno and issue a more detailed explanation, instead of relying solely on the default. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |