Hi,

the following test program does not generate a SIGPIPE, as it probably
should.  At least the Perl test harnish expects that.

Thanks,
Marcus

#include <signal.h>
#include <string.h>

void foo (int nr)
{
  printf ("Buh!\n");
}

main()
{
  int fds[2];

  signal (SIGPIPE, foo);
  pipe (fds);
  close (fds[0]);

  write (fds[1], "hallo", 6);
  close (fds[1]);
  sleep (1);
  return 0;
}
                  

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to