* 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:
Christopher Faylor
2006-01-02 06:15:58 +00:00
parent b0b9ccf618
commit 7f9832e774
9 changed files with 72 additions and 101 deletions

View File

@@ -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));
}