delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/25/09:34:49

From: sukdgm AT unx DOT sas DOT com (David McNamara)
Subject: RE: "Not owner" error when using fork()
25 Nov 1996 09:34:49 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BBDAAE.A9B9A060.cygnus.gnu-win32@stmoritz.pc.sas.com>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
Encoding: 41 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Ooopps...my mistake!

I found that I had my executable (we'll call it "xyz.exe") in the same 
directory as a shell script called "xyz".  Once I renamed the shell script 
everything worked fine.

David.

----------
From:  David McNamara[SMTP:sukdgm AT unx DOT sas DOT com]
Sent:  Friday, November 22, 1996 11:59 AM
To:  gnu-win32 AT cygnus DOT com
Subject:  "Not owner" error when using fork()

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