[vox-tech] Binary problems

Peter Jay Salzman vox-tech@lists.lugod.org
Thu, 26 Feb 2004 12:38:33 -0800


On Thu 26 Feb 04, 12:28 PM, Doctorcam <cam@ellisonet.ca> said:
> * Jeff Newmiller (jdnewmil@dcn.davis.ca.us) wrote:
> 
> > Sounds to me like you want to provide a directory specification for the
> > executable...
> > 
> >    ./primafax_l.bin
> > 
> > or
> > 
> >    strace ./primafax_l.bin
> > 
> 
> Colour me red - for embarrassment - I knew this, but the brain wasn't
> working.  Thank you for pointing out what should have been obvious.

ok, so now *i'm* confused.

strace showed a call to open() that returned a file descriptor pointing
to the binary file.  i believe it was fd 4.

i thought open() returned -1 upon error?

pete

-- 
Make everything as simple as possible, but no simpler.  -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D