Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2532] Why are we packaging?



On Mon, Jul 19, 1999 at 03:34:27AM +0000, James Cameron wrote:
> Tom Holub wrote:
> > You probably can get it to show whatever you want by munging ARGV[0].
> 
> I suspected that too, but it did not work.
> 
> strcpy(argv[0],"erk");

You're supposed to specify the replacement argv0 at the time of execl*().

-- 
Dave Ahn <ahn@vec.wfubmc.edu>        |  "When you were born, you cried and the
                                     |  world rejoiced.  Try to live your life
Virtual Endoscopy Center             |  so that when you die, you will rejoice
Wake Forest Univ. School of Medicine |  and the world will cry."  -1/2 jj^2