Branch: Tag:

2014-08-15

2014-08-15 20:21:17 by Martin Nilsson <nilsson@opera.com>

Less zero_type.

179: Inside #if constant(Stdio.__HAVE_SEND_FD__)
     #if constant(Stdio.__HAVE_SEND_FD__)    // Forkd mode requires send_fd(). -  if (zero_type(new_modifiers->forkd)) new_modifiers->forkd = forkd_default; +  if (undefinedp(new_modifiers->forkd)) +  new_modifiers->forkd = forkd_default;    if (new_modifiers->forkd && assert_forkd()) {    process_fd = Stdio.File();    forkd_pipe->
190: Inside #if constant(Stdio.__HAVE_SEND_FD__)
   m_delete(new_modifiers, "forkd");    __callback = m_delete(new_modifiers, "callback");    -  if (zero_type(new_modifiers->uid)) { +  if (undefinedp(new_modifiers->uid)) {    new_modifiers->uid = geteuid(); -  if (zero_type(new_modifiers->gid)) { +  if (undefinedp(new_modifiers->gid)) {    new_modifiers->gid = getegid();    }    if (!new_modifiers->setgroups) {