Hello,
I am trying to compile bash for my own kernel (http://www.barbux.net)

But I have a slight problem:

In file, nojobs.c, line 235
  return (get_termsig (pid_list[i].status));

That line does not compile because get_termsig is waiting a WAIT parameter.
static int get_termsig (WAIT status);
but, pid_list is a struct proc_status
static struct proc_status *pid_list = (struct proc_status *)NULL;
and struct proc_status::status is an int, not a WAIT
struct proc_status {
  pid_t pid;
  int status; /* Exit status of PID or 128 + fatal signal number */
  int flags;
};
Any clues on that point ?

Regards,
Jean-Baptiste


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to