[10605] in Athena Bugs
hpux patch for athena/athena.bin/olc/clients/lib/utils.c
daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 13:22:14 1993
From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 13:22:02 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU
Cc: olcdev@Athena.MIT.EDU
The child process shouldn't return if execlp fails; it should use _exit.
This bug resulted in weird behavior when I had MORE_PROG defined wrong.
*** /tmp/,RCSt1a18756 Fri Jun 25 13:19:23 1993
--- athena/athena.bin/olc/clients/lib/utils.c Fri Jun 11 13:35:49 1993
***************
*** 226,232 ****
{
execlp(program, program, argument, 0);
olc_perror("call_program");
! return(ERROR);
}
else
{
--- 226,232 ----
{
execlp(program, program, argument, 0);
olc_perror("call_program");
! _exit(1);
}
else
{