delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/22/12:09:59

From: sukdgm AT unx DOT sas DOT com (David McNamara)
Subject: "Not owner" error when using fork()
22 Nov 1996 12:09:59 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BBD86C.85518380.cygnus.gnu-win32@stmoritz.pc.sas.com>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
Encoding: 26 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have been writing an application which requires the use of fork() (and 
execve()) towards the end of the code.  But fork() always returns a 
negative value and perror() reports "Not owner".

I have created a smaller test program to simply test the fork() and execl() 
functions, and this application works as expected.

I have tested both using beta 16 on both Windows 95 and Windows NT 3.51.

Any ideas??

Thanks,
David

PS  It does sound a little like the archived mailing list posting I found 
entitled:
"problem with fork (as in make)" posted by Michel Dagenais 
(dagenais AT vlsi DOT polymtl DOT ca) on Wed, 31 Jan 96 08:28:08 EST, but there didn't 
appear to be any resolution to this problem.

--
 David G McNamara          (919) 677 8000        Host Systems R&D
 Testing Section           Extn. 4987            SAS Institute Inc.
 PCR&D Group                                     SAS Campus Drive
 sukdgm AT unx DOT sas DOT com        R3115                 Cary, NC 27513


-
For help on using this list, 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