delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/22/15:10:10

X-Spam-Check-By: sourceware.org
Date: Tue, 22 Aug 2006 14:09:45 -0500
From: Brian Ford <Brian DOT Ford AT FlightSafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Prevent closing a NULL pinfo handle
In-Reply-To: <20060817202427.GF22061@trixie.casa.cgf.cx>
Message-ID: <Pine.CYG.4.58.0608221347500.2832@PC1163-8460-XP.flightsafety.com>
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0608171502550 DOT 2408 AT PC1163-8460-XP DOT flightsafety DOT com> <20060817202427 DOT GF22061 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Thu, 17 Aug 2006, Christopher Faylor wrote:

> I'll look into it when I have the time although I am not seeing this
> particular problem.

In case you'd like an STC:

$ cat system.c
#include <stdlib.h>

int
main(void)
{
    return system("/usr/bin/ls");
}

$ gcc -g -Wall -O2 system.c -o system

$ ./system
system.c  system.exe
CloseHandle(moreinfo->myself_pinfo) 0x0 failed
child_info_spawn::~child_info_spawn():125, Win32 error 6

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

.


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