| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 10 Mar 2010 10:25:36 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: allow executing a path in backslash notation |
| Message-ID: | <20100310092536.GS6505@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <720660 DOT 16774 DOT qm AT web88302 DOT mail DOT re4 DOT yahoo DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <720660.16774.qm@web88302.mail.re4.yahoo.com> |
| User-Agent: | Mutt/1.5.20 (2009-06-14) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Mar 9 13:47, Ilguiz Latypov wrote:
>
> > The bottom line is that if you want to use MS-DOS
> > paths, then use a MinGW or DJGPP version of make.exe. make.exe is not
> > going to be patched.
>
> The patch was to cygwin1.dll, but I am not insisting.
Trouble is, I don't even see the problem. Executing a file in DOS
notation is already possible:
bash$ cat << EOF > exec.c
#include <unistd.h>
int
main (int argc, char **argv)
{
char *args[] = { argv[1], "abc", 0};
execv (argv[1], args);
return 1;
}
EOF
bash$ gcc -o exec exec.c
bash$ ./exec /bin/echo
abc
bash$ ./exec C:\\cygwin\\bin\\echo
abc
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |