delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/04/05:59:31

From: sam AT campbellsci DOT co DOT uk (Samuel James Liddicott)
Subject: Re: Problem with symbolic links in b18
4 Feb 1998 05:59:31 -0800 :
Message-ID: <052201bd316e$33481ed0$2a0110ac.cygnus.gnu-win32@sam.ethernet>
Mime-Version: 1.0
To: David Gasul <davidg AT telegate DOT co DOT il>, gnu-win32 AT cygnus DOT com

-----Original Message-----
From: David Gasul <davidg AT telegate DOT co DOT il>
To: gnu-win32 AT cygnus DOT com <gnu-win32 AT cygnus DOT com>
Date: 04 February 1998 13:02
Subject: Problem with symbolic links in b18


    Hi,

    Here's a problem I encountered with symbolic links:

    1. Assume you have a DOS executable in directory c:\xxx called yyy.exe.
    2. Assume bash is run from directory c:\zzz.
    3. Enter bash
    4. Do "ln -s c:\xxx\yyy.exe yyy.exe".
    5. Verify that there's a file "yyy.exe" in c:\zzz.
    6. Run yyy.exe from bash - everything works fine.
    7. Now exit bash.
    8. Run yyy.exe. You get a window telling you that the program has
performed an illegal operation.
        Opening the details button says that the program tried to execute an
illegal instruction
        at 1F00:8AC3.


    This is because your are now running yyy.exe from c:\zzz, and this
yyy.exe is not a real exe file, but one of your cygwin shortcuts that
windows doesn't like.

    Windows & dos checks the current dir for a file before looking in the
path.

    Sam Liddicott                   |   Nothing I say is to be attributed as
|
    Campbell Scientific Ltd.        | a company statement or representation.
|
    Campbell Park, 80 Hathern Road,
*----------------------------------------+
    Shepshed, Leic. United Kingdom. LE12 9AL        Phone: +44 (0) 1509
601141
    Email: sam AT campbellsci DOT co DOT uk                    Fax:   +44 (0) 1509
601091


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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