Update to FreeBSD head 2017-01-09

Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
This commit is contained in:
Sebastian Huber
2017-01-09 14:47:04 +01:00
parent 75b706fde4
commit 0577772720
102 changed files with 4230 additions and 2832 deletions

View File

@@ -550,13 +550,6 @@ char *_nsyytext;
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
@@ -588,7 +581,7 @@ static char *rcsid =
#include "nsparser.h"
#define YY_NO_INPUT 1
#line 592 "<stdout>"
#line 585 "<stdout>"
#define INITIAL 0
@@ -768,10 +761,10 @@ YY_DECL
char *yy_cp, *yy_bp;
int yy_act;
#line 66 "../../freebsd/lib/libc/net/nslexer.l"
#line 59 "../../freebsd/lib/libc/net/nslexer.l"
#line 775 "<stdout>"
#line 768 "<stdout>"
if ( !(yy_init) )
{
@@ -866,59 +859,59 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
#line 68 "../../freebsd/lib/libc/net/nslexer.l"
#line 61 "../../freebsd/lib/libc/net/nslexer.l"
; /* skip whitespace */
YY_BREAK
case 2:
YY_RULE_SETUP
#line 70 "../../freebsd/lib/libc/net/nslexer.l"
#line 63 "../../freebsd/lib/libc/net/nslexer.l"
; /* skip comments */
YY_BREAK
case 3:
/* rule 3 can match eol */
YY_RULE_SETUP
#line 72 "../../freebsd/lib/libc/net/nslexer.l"
#line 65 "../../freebsd/lib/libc/net/nslexer.l"
; /* allow continuation */
YY_BREAK
case 4:
/* rule 4 can match eol */
YY_RULE_SETUP
#line 74 "../../freebsd/lib/libc/net/nslexer.l"
#line 67 "../../freebsd/lib/libc/net/nslexer.l"
return NL;
YY_BREAK
case 5:
YY_RULE_SETUP
#line 76 "../../freebsd/lib/libc/net/nslexer.l"
#line 69 "../../freebsd/lib/libc/net/nslexer.l"
return SUCCESS;
YY_BREAK
case 6:
YY_RULE_SETUP
#line 77 "../../freebsd/lib/libc/net/nslexer.l"
#line 70 "../../freebsd/lib/libc/net/nslexer.l"
return UNAVAIL;
YY_BREAK
case 7:
YY_RULE_SETUP
#line 78 "../../freebsd/lib/libc/net/nslexer.l"
#line 71 "../../freebsd/lib/libc/net/nslexer.l"
return NOTFOUND;
YY_BREAK
case 8:
YY_RULE_SETUP
#line 79 "../../freebsd/lib/libc/net/nslexer.l"
#line 72 "../../freebsd/lib/libc/net/nslexer.l"
return TRYAGAIN;
YY_BREAK
case 9:
YY_RULE_SETUP
#line 81 "../../freebsd/lib/libc/net/nslexer.l"
#line 74 "../../freebsd/lib/libc/net/nslexer.l"
return RETURN;
YY_BREAK
case 10:
YY_RULE_SETUP
#line 82 "../../freebsd/lib/libc/net/nslexer.l"
#line 75 "../../freebsd/lib/libc/net/nslexer.l"
return CONTINUE;
YY_BREAK
case 11:
YY_RULE_SETUP
#line 84 "../../freebsd/lib/libc/net/nslexer.l"
#line 77 "../../freebsd/lib/libc/net/nslexer.l"
{
char *p;
int i;
@@ -938,15 +931,15 @@ YY_RULE_SETUP
YY_BREAK
case 12:
YY_RULE_SETUP
#line 101 "../../freebsd/lib/libc/net/nslexer.l"
#line 94 "../../freebsd/lib/libc/net/nslexer.l"
return _nsyytext[0];
YY_BREAK
case 13:
YY_RULE_SETUP
#line 103 "../../freebsd/lib/libc/net/nslexer.l"
#line 96 "../../freebsd/lib/libc/net/nslexer.l"
ECHO;
YY_BREAK
#line 950 "<stdout>"
#line 943 "<stdout>"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1911,20 +1904,19 @@ void _nsyyfree (void * ptr )
#define YYTABLES_NAME "yytables"
#line 103 "../../freebsd/lib/libc/net/nslexer.l"
#line 96 "../../freebsd/lib/libc/net/nslexer.l"
#undef _nsyywrap
int
_nsyywrap()
_nsyywrap(void)
{
return 1;
} /* _nsyywrap */
void
_nsyyerror(msg)
const char *msg;
_nsyyerror(const char *msg)
{
syslog(LOG_ERR, "NSSWITCH(nslexer): %s line %d: %s at '%s'",