delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/04/04:47:09

From: davidg AT telegate DOT co DOT il (David Gasul)
Subject: Problem with symbolic links in b18
4 Feb 1998 04:47:09 -0800 :
Message-ID: <01bd314f$6a0dab20$a60110ac.cygnus.gnu-win32@davidg.intr.telegate.co.il>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

This is a multi-part message in MIME format.

------=_NextPart_000_000F_01BD3160.2D967B20
Content-Type: text/plain;
	charset="iso-8859-8"
Content-Transfer-Encoding: quoted-printable

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=20
    at 1F00:8AC3.

Cheers,
Dave


------=_NextPart_000_000F_01BD3160.2D967B20
Content-Type: text/html;
	charset="iso-8859-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-8 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Here's a problem I encountered with symbolic=20
links:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>1. Assume you have a DOS executable in directory =
c:\xxx called=20
yyy.exe.</FONT></DIV>
<DIV><FONT size=3D2>2. Assume bash is run from directory=20
c:\zzz.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>3. Enter bash</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>4. Do &quot;ln -s c:\xxx\yyy.exe=20
yyy.exe&quot;.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>5. Verify that there's a file &quot;yyy.exe&quot; in =

c:\zzz.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>6. Run yyy.exe from bash - everything works=20
fine.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>7. Now exit bash.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>8. Run yyy.exe. You get a window telling you that =
the program=20
has performed an illegal operation.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; Opening the details button says =
that <FONT=20
color=3D#000000>the program tried to execute an illegal instruction=20
</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT color=3D#000000></FONT>&nbsp;&nbsp;&nbsp; at=20
1F00:8AC3.</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Cheers,</FONT></DIV>
<DIV><FONT size=3D2>Dave</FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000F_01BD3160.2D967B20--

-
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