View | Details | Raw Unified
Collapse All | Expand All

(-) sdiff.c.orig (-6 / +1 lines)
 Lines 692-698    Link Here 
      ck_fclose (out);
      ck_fclose (out);
      {
      {
	int wstatus;
	int wstatus = 0;
	int werrno = 0;
	int werrno = 0;
#if ! (HAVE_WORKING_FORK || HAVE_WORKING_VFORK)
#if ! (HAVE_WORKING_FORK || HAVE_WORKING_VFORK)
 Lines 701-711    Link Here 
	  werrno = errno;
	  werrno = errno;
#else
#else
	ck_fclose (diffout);
	ck_fclose (diffout);
	while (waitpid (diffpid, &wstatus, 0) < 0)
	  if (errno == EINTR)
	    checksigs ();
	  else
	    perror_fatal ("waitpid");
	diffpid = 0;
	diffpid = 0;
#endif
#endif