delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/07/18:01:50

X-Spam-Check-By: sourceware.org
Message-ID: <461814B4.8020605@byu.net>
Date: Sat, 07 Apr 2007 16:01:24 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Unexpected behaviour with missing DLL
References: <46180D97 DOT 3040104 AT ukf DOT net>
In-Reply-To: <46180D97.3040104@ukf.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Max Bowsher on 4/7/2007 3:31 PM:
> I am seeing unexpected behaviour when a DLL is missing. OS is Windows XP.
> 
> For example: rename /bin/cygneon-26.dll to something else.
> Now, try to run "svn" in a bash shell. The program silently dies, with
> exit code 53!
> 
> In contrast, if you double click on svn.exe, the usual windows message
> box appears, explaining about the missing DLL, as expected
> 
> Does anyone know what might be causing this?

Yes.  And this has come up on the lists before.  The short answer is that
it is unacceptable to pop up a modal dialog box when executing a
non-interactive shell script, so cygwin intentionally requests Windows to
not pop up the dialog.  At which point, all you are left with in the case
of a missing .dll dependency, is cygwin interpreting the Windows error
exit status, which turns out to be status 53.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGGBS084KuGfSFAYARAvFUAKCtS+Ew01u66A8oAcZ/SW+Rd4oQygCgqSEi
tlJ9CQe9DGOBRUv9q17SEiw=
=U4HW
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019