[unix-pc.sources] UNOFFICIAL patch to B News 2.11.14

arnold@skeeve.UUCP (Arnold D. Robbins) (12/20/87)

Once you've installed patch 14, install the fix below. Be sure to keep
your original copy of 'funcs.c' as you will need to use it for patch 15,
if and when that comes out.

The bug is a #ifdef that should really be #ifndef -- apparently a typo.
It keeps news from having the routine used to make a directory.

Enjoy,

Arnold
--------- cut here, feed to patch in news source directory ----------------
*** funcs.c.orig	Sat Dec 19 20:51:29 1987
--- funcs.c	Sat Dec 19 20:52:56 1987
***************
*** 520,526 ****
  }
  #endif /* VMS */
  
! #ifdef MKDIRSUB
  /*
   * make a directory. Also make sure that the directory is owned
   * by the right userid
--- 520,526 ----
  }
  #endif /* VMS */
  
! #ifndef MKDIRSUB
  /*
   * make a directory. Also make sure that the directory is owned
   * by the right userid
***************
*** 579,585 ****
  #endif
  	return status;
  }
! #endif /* !BSD4_2 */
  
  #ifndef	RENAMESUB
  rename(from,to)
--- 579,585 ----
  #endif
  	return status;
  }
! #endif /* !MKDIRSUB */
  
  #ifndef	RENAMESUB
  rename(from,to)
-- 
Arnold Robbins -- The Basement Computer
UUCP:	{ gatech, emory, gt-eedsp, bakerst, gladys }!skeeve!arnold

/bin/csh: Just Say NO!