[news.software.b] Little mistake in inews.c

ccea3@rivm.UUCP (Adri Verhoef) (02/04/89)

Something went wrong in patch.16 for B 2.11 news regarding inews.c;
it looks to me that an ifndef and an endif were moved
and that the ifndef was transformed into an ifdef.

Take a look at the fragment from patch.16 (about line 196):

***************
*** 281,283
  
- #ifndef DOGETUSER
  	/*

--- 299,300 -----
  
  	/*
***************
*** 286,288
  	 */
! 	if (isatty(fileno(stderr))) {
  		if ((user = getenv("USER")) == NULL)

--- 303,309 -----
  	 */
! 	if (isatty(fileno(stderr))
! #ifdef	DOGETUSER
! 		&& uid == 0 /* allow root to set name in any case */
! #endif	/* !DOGETUSER */
! 		) {
  		if ((user = getenv("USER")) == NULL)
***************
*** 292,294
  	}
- #endif /* !DOGETUSER */
  	if (user == NULL || home == NULL)

--- 313,314 -----
  	}
  	if (user == NULL || home == NULL)