Branch: Tag:

2001-12-20

2001-12-20 15:04:43 by Martin Nilsson <mani@lysator.liu.se>

error is already defined.

Rev: lib/modules/Process.pmod:1.34

1:   #pike __REAL_VERSION__    - #define error(X) throw( ({ (X), backtrace()[0..sizeof(backtrace())-2] }) ) -  +    import Stdio;      #if !constant(strerror)
272: Inside #if undefined(__NT__) and #if constant(fork)
   {    if(cwd && !cd(cwd))    { -  throw(({"pike: cannot change cwd to "+cwd+ -  ": "+strerror(errno())+"\n", -  backtrace()})); +  error( "pike: cannot change cwd to "+cwd+ +  ": "+strerror(errno())+"\n" );    }       if (sizeof(fdp)>0 && fdp[0]) fdp[0]->dup2(Stdio.File("stdin"));
293: Inside #if undefined(__NT__) and #if constant(fork)
   else    exece(cmd,args||({}));    -  throw(({"pike: failed to exece "+cmd+ -  ": "+strerror(errno())+"\n", -  backtrace()})); +  error( "pike: failed to exece "+cmd+ +  ": "+strerror(errno())+"\n" );    };       pied->write(encode_value(err));