🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #376

Re: Language Tenets

#376
From: Norman Diamond
Date: Mon, 24 Jul 1989 04:51
16 lines
1164 bytes
In article <5098@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes:

>I like it, thought I think the following
>syntax is a bit more consistant:
>
>     execv("/bin/sh", (char *){"sh", "-c", command});

Maybe execv("/bin/sh", (char *) &{"sh", "-c", command});
might be more consistEnt?

--
-- 
Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net)
  The above opinions are inherited by your machine's init process (pid 1),
  after being disowned and orphaned.  However, if you see this at Waterloo or
  Anterior, then their administrators must have approved of these opinions.
Technical Details
Message-ID: <10595@riks.csl.sony.JUNET>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond
References: <57125@linus.UUCP> <1989Jun24.230056.27774@utzoo.uucp> <5096@ficc.uu.net> <5098@ficc.uu.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond
From: diamond@csl.sony.JUNET (Norman Diamond)
Newsgroups: comp.lang.misc
Subject: Re: Language Tenets
Message-ID: <10595@riks.csl.sony.JUNET>
Date: 24 Jul 89 04:51:14 GMT
References: <57125@linus.UUCP> <1989Jun24.230056.27774@utzoo.uucp> <5096@ficc.uu.net> <5098@ficc.uu.net>
Reply-To: diamond@riks. (Norman Diamond)
Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan
Lines: 16