* cygload/README: Delete.
* cygload/cygload.cc: Move to winsup.api. Add comments from README. * cygload/cygload.h: Move to winsup.api. * cygload/cygload.exp: Move to winsup.api. * Makefile.in: Remove cygload. * winsup.api/winsup.exp: If a .exp file is detected, run it rather than using standard compile. * winsup.api/resethand.c (main): Use printf to print status or expect thinks something is wrong.
This commit is contained in:
@@ -8,7 +8,6 @@ int doit = 0;
|
||||
void
|
||||
ouch (int sig)
|
||||
{
|
||||
fprintf (stderr, "ouch %d\n", sig);
|
||||
if (doit++ > 0)
|
||||
kill (getpid (), SIGTERM);
|
||||
}
|
||||
@@ -32,6 +31,6 @@ main (int argc, char **argv)
|
||||
exit (0x42);
|
||||
}
|
||||
status &= ~0x80; // remove core dump flag
|
||||
fprintf (stderr, "pid %d exited with status %p\n", pid, (void *) status);
|
||||
printf ("pid %d exited with status %p\n", pid, (void *) status);
|
||||
exit (argc == 1 ? !(status == SIGSEGV) : !(status == SIGTERM));
|
||||
}
|
||||
|
Reference in New Issue
Block a user