🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7150

Lattice forkv() problems

#7150
From: Gregory Kritsch
Date: Wed, 02 Dec 2020 01:11
25 lines
1388 bytes
G'day all.

I'm having a small problem with Lattice's forkv() function, and am
wondering if anyone else has experienced anything similar.

Here's what happens:  The user runs program A, which does a forkv() to
program B.  No problem - B loads just fine.  It then tries to do a
forkv() to "sendmail" (and yes, I have the argv[] set up correctly, and
sendmail is in my C: directory).  This forkv fails, Lattice's errno is 2
(No such file or directory == generic error number), with _oserr = 0
(normally the result from IoErr()).

Doing a forkv() to c:sendmail works just fine, which is the annoying
part.

Anyone have any experience with this, or ideas whats wrong, or a fix?  I
haven't yet reported it to Lattice.

I'm working with 5.04 I think (SAS/C 5.10 at Christmas, maybe).
--
  Gregory Kritsch                          | University of Waterloo
    Fido:  1:221/208.11110  [1:163/109.30] | 1A Computer Engineering
    OCUG:  ggk@tirith.ocug.on.ca           |----------------------------
    UUCP:  ggk@tirith.UUCP                 | The University doesn't get
           ...!watmath!xenitec!tirith!ggk  | a chance to censor me!
Technical Details
Message-ID: <ggk.660100311@tirith.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk
From: ggk@tirith.UUCP (Gregory Kritsch)
Message-ID: <ggk.660100311@tirith.UUCP>
Date: 2 Dec 20 01:11:51 
Newsgroups: comp.sys.amiga.tech
Subject: Lattice forkv() problems