*** mpz/tests/io.c	Wed May  8 08:11:08 1996
--- d:/develop/ports/gnu.dev/gmp-3.01/mpz/tests/io.c	Fri Jun  9 22:28:42 2000
***************
*** 30,35 ****
--- 30,36 ----
  #define SIZE 16
  #endif
  
+ int
  main (argc, argv)
       int argc;
       char **argv;
***************
*** 48,54 ****
    mpz_init (&op1);
    mpz_init (&op2);
  
!   pipe (fd);
    fsin = fdopen (fd[0], "r");
    fsout = fdopen (fd[1], "w");
  
--- 49,59 ----
    mpz_init (&op1);
    mpz_init (&op2);
  
!   if (pipe (fd) < 0)
!     {
!       fprintf (stderr, "Unable to create pipe - aborting!\n");
!       abort ();
!     }
    fsin = fdopen (fd[0], "r");
    fsout = fdopen (fd[1], "w");
  
***************
*** 68,74 ****
  
        if (mpz_cmp (&op1, &op2))
  	{
! 	  fprintf (stderr, "ERROR\n");
  	  fprintf (stderr, "op1  = "); debug_mp (&op1, -16);
  	  fprintf (stderr, "base = %d\n", base);
  	  abort ();
--- 73,79 ----
  
        if (mpz_cmp (&op1, &op2))
  	{
! 	  fprintf (stderr, "ERROR in repetition %d\n", i);
  	  fprintf (stderr, "op1  = "); debug_mp (&op1, -16);
  	  fprintf (stderr, "base = %d\n", base);
  	  abort ();
*** mpz/tests/Makefile.in	Wed Apr 26 19:02:26 2000
--- d:/develop/ports/gnu.dev/gmp-3.01/mpz/tests/Makefile.in	Thu May  4 22:09:42 2000
***************
*** 155,162 ****
  dive_LDADD = $(LDADD)
  dive_DEPENDENCIES =  $(top_builddir)/libgmp.la
  dive_LDFLAGS = 
! io_SOURCES = io.c
! io_OBJECTS =  io.$(OBJEXT)
  io_LDADD = $(LDADD)
  io_DEPENDENCIES =  $(top_builddir)/libgmp.la
  io_LDFLAGS = 
--- 155,162 ----
  dive_LDADD = $(LDADD)
  dive_DEPENDENCIES =  $(top_builddir)/libgmp.la
  dive_LDFLAGS = 
! io_SOURCES = io.c io-djgpp.c
! io_OBJECTS =  io.$(OBJEXT) io-djgpp.$(OBJEXT)
  io_LDADD = $(LDADD)
  io_DEPENDENCIES =  $(top_builddir)/libgmp.la
  io_LDFLAGS = 
*** mpz/tests/Makefile.am	Wed Apr 12 22:41:50 2000
--- d:/develop/ports/gnu.dev/gmp-3.01/mpz/tests/Makefile.am	Thu May  4 22:09:22 2000
***************
*** 29,32 ****
--- 29,34 ----
    dive t-sqrtrem convert io logic bit t-powm t-powm_ui t-pow_ui t-2exp reuse \
    t-root
  
+ io_SOURCES = io.c io-djgpp.c
+ 
  TESTS = $(check_PROGRAMS)
