Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 3636 invoked by uid 500); 3 Jul 2002 00:07:09 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 3625 invoked from network); 3 Jul 2002 00:07:08 -0000 Message-ID: <3D224027.9050408@xbc.nu> Date: Wed, 03 Jul 2002 02:07:03 +0200 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611 X-Accept-Language: sl, en-gb, en MIME-Version: 1.0 To: dev@apr.apache.org CC: "William A. Rowe, Jr." Subject: Re: cvs commit: apr/threadproc/win32 proc.c References: <5.1.0.14.2.20020702182830.032184c0@pop3.rowe-clan.net> <3D223D54.7000201@xbc.nu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Branko Čibej wrote: > William A. Rowe, Jr. wrote: > >> And you are now passing cloned parent-side handles again to the child >> process which means the parent can't signal the file closed, because >> closing the parent handle doesn't close the handle in the child process. > > > I'm not sure I understand this. If you want to make the file handle > inheritable, you must create a duplicate. Wups, correction! That's true only on Win95/98/Me, you have to use Duplicate Handle there. On WinNT/2K/XP, you can use SetHandleInformation instead. Do we want to check the OS version there? -- Brane Čibej http://www.xbc.nu/brane/