delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/20/08:22:03

X-Spam-Check-By: sourceware.org
Date: Sat, 20 Jan 2007 05:21:40 -0800
From: Christopher Layne <clayne AT anodized DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygexec strangeness
Message-ID: <20070120132140.GB25379@ns1.anodized.com>
References: <20070120112745 DOT GA25379 AT ns1 DOT anodized DOT com> <20070120124453 DOT GN27843 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20070120124453.GN27843@calimero.vinschen.de>
User-Agent: Mutt/1.5.11
X-Assp-Spam-Prob: 0.00000
X-Assp-Whitelisted: Yes
X-Assp-Envelope-From: clayne AT ns1 DOT anodized DOT com
X-Assp-Intended-For: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

$ mount -f -b -s -X 'c:\cygwin' /
$ strace ./o o.c

   55   57473 [main] o 2656 fhandler_base::open: (c:\cygwin\var\tmp\o.c, 0x100000)
   87   57560 [main] o 2656 fhandler_base::set_flags: flags 0x100000, supplied_bin 0x10000
   45   57605 [main] o 2656 fhandler_base::set_flags: filemode set to binary
   38   57643 [main] o 2656 fhandler_base::open: 0 = NtCreateFile (0x6F4, 80100000, c:\cygwin\var\tmp\o.c, io, NULL, 0, 7, 1, 4020, NULL, 0)
   43   57686 [main] o 2656 fhandler_base::open: 1 = fhandler_base::open (c:\cygwin\var\tmp\o.c, 0x100000)
   40   57726 [main] o 2656 fhandler_base::open_fs: 1 = fhandler_disk_file::open (c:\cygwin\var\tmp\o.c, 0x0)
   39   57765 [main] o 2656 open: 3 = open (o.c, 0x0)

On Sat, Jan 20, 2007 at 01:44:53PM +0100, Corinna Vinschen wrote:
> On Jan 20 03:27, Christopher Layne wrote:
> > Kind of strange.
> > Am I missing something on how cygexec is supposed to be used?
> 
> That's with a snapshot?  If so, try the latest one.  WJFFM.

This works now. Strange. Was running 20070110. Just went to 20070118.

-cl

--
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/

- Raw text -


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