[comp.unix.xenix] 2.11 news control.c error

root@ozdaltx.UUCP (root) (12/06/89)

Re: 2.11 news

I am getting the following message during make.  Has anyone else run
into this?  I don't see any obvious error, except maybe a ';' may
had been left out at the end of line 360.  Tried adding it, still get
the same errors.  Patchlevel 19, SCO XENIX - 286.

control.c
control.c(362) : error 59: syntax error : `)'
control.c(368) : error 61: syntax error : identifier `error'

Stop.
-----------
Refered section from control.c:

# ifdef NONEWGROUPS
	/* local allowed */
	int can_change = (STRCMP(header.distribution, "local") == 0)
#  ifdef ORGDISTRIB
	/* or ORGDISTRIB */
			   ||  (STRCMP(header.distribution, ORGDISTRIB) == 0)
#  endif /* ORGDISTRIB */
/*line 362 */		   || !ngmatch(argv[1], NONEWGROUPS);
# else /* ! NONEWGROUPS */
	int can_change = 1;	/* allow changes for all distributions */
# endif /* NONEWGROUPS */

	if (argc < 2)
/*line 368 */	error("newgroup: Too few arguments.");

	if (header.approved[0] == '\0') {
		logerr("newgroup: %s not approved", argv[1]);
		return 1;
	}
----------
thanx

Scotty
AIDS INFORMATION EXCHANGE BBS      (214) 247-2367/247-5609
               "Education is the best weapon"
     {ames,rutgers,texsun,smu}!attctc!ozdaltx!sysop