This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unexpected behaviour with missing DLL
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 07 Apr 2007 16:01:24 -0600
- Subject: Re: Unexpected behaviour with missing DLL
- References: <46180D97.3040104@ukf.net>
-----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@byu.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/