Unexpected behaviour with missing DLL
Sat Apr 7 22:01:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
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 email@example.com
-----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
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin