Branch: Tag:

2016-11-05

2016-11-05 10:49:05 by Martin Nilsson <nilsson@fastmail.com>

Revert sprintf %m.

1040: Inside #if undefined(__NT__) and #if constant(fork) && constant(exece)
   {    if(cwd && !cd(cwd))    { -  error( "pike: cannot change cwd to %O: %m.\n", cwd ); +  error( "pike: cannot change cwd to %O: %s.\n", cwd, +  strerror(errno()) );    }       if (sizeof(fdp)>0 && fdp[0]) fdp[0]->dup2(Stdio.File("stdin"));
1059: Inside #if undefined(__NT__) and #if constant(fork) && constant(exece)
   else    exece(cmd,args||({}));    -  error( "pike: failed to exece %O: %m.\n", cmd ); +  error( "pike: failed to exece %O: %s.\n", cmd, +  strerror(errno()) );    };       pied->write(encode_value(err));
1219:    };       if (low_daemon(nochdir, noclose) == -1) -  error("Failed to daemonize: %m.\n"); +  error("Failed to daemonize: %s.\n", strerror(errno()));    if (!modifiers)    return;