FreeBSD Bugzilla – Attachment 195094 Details for
Bug 217152
net/xorp: fib2mrib_varrw.cc:43:30: error: instantiation of variable 'ElemNet<IPNet<IPv4> >::id' required
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-xorp_v10
svn-diff-xorp (text/plain), 42.02 KB, created by
Walter Schwarzenfeld
on 2018-07-12 19:37:10 UTC
(
hide
)
Description:
svn-diff-xorp_v10
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2018-07-12 19:37:10 UTC
Size:
42.02 KB
patch
obsolete
>Index: files/patch-SConstruct >=================================================================== >--- files/patch-SConstruct (revision 474476) >+++ files/patch-SConstruct (working copy) >@@ -1,4 +1,4 @@ >---- SConstruct.orig 2012-01-11 17:56:10 UTC >+--- SConstruct.orig 2018-07-11 16:37:51 UTC > +++ SConstruct > @@ -162,22 +162,13 @@ if (len(COMMAND_LINE_TARGETS) == 0): > >@@ -25,11 +25,55 @@ > variables = vars) > > prefix = env['prefix'] >-@@ -880,6 +871,7 @@ env.AppendUnique(CFLAGS = [ >- '-Wcast-align', >+@@ -853,20 +844,6 @@ if env['enable_boost']: >+ >+ # Some platforms have alignment warnings that cannot easily be >+ # fixed, so we can't enable Werror for them. >+-if ((build != "i386-pc-mingw32") and >+- (host_cpu == "i686" or >+- host_cpu == "i386" or >+- host_cpu == "x86_64")): >+- env.AppendUnique(CFLAGS = [ >+- '-Werror', >+- ]) >+- env.AppendUnique(CXXFLAGS = [ >+- '-Werror', >+- ]) >+-else: >+- print "WARNING: Detected funky platform, will not enable -Werror compile option: ", host_cpu >+- >+- >+ # NOTE: gcc specific flags. >+ env.AppendUnique(CFLAGS = [ >+ '-W', >+@@ -874,12 +851,14 @@ env.AppendUnique(CFLAGS = [ >+ '-Wwrite-strings', >+ '-Wbad-function-cast', >+ '-Wmissing-prototypes', >+- '-Wcast-qual', >++ '-Wno-cast-qual', >++ '-Wno-sign-compare', >+ '-Wmissing-declarations', >+ '-Wpointer-arith', >+- '-Wcast-align', > '-Wstrict-prototypes', > '-Wnested-externs', > + '-Wno-unused-function', >++ '-Wno-unused-parameter', > '-pipe', > ]) > >+@@ -887,11 +866,10 @@ env.AppendUnique(CXXFLAGS = [ >+ '-W', >+ '-Wall', >+ '-Wwrite-strings', >+- '-Wcast-qual', >++ '-Wno-cast-qual', >++ '-Wno-sign-compare', >+ '-Wpointer-arith', >+- '-Wcast-align', >+ '-Woverloaded-virtual', >+- '-ftemplate-depth-25', >+ '-pipe', >+ ]) >+ >Index: files/patch-cplfile.c >=================================================================== >--- files/patch-cplfile.c (nonexistent) >+++ files/patch-cplfile.c (working copy) >@@ -0,0 +1,35 @@ >+--- cli/libtecla/cplfile.c.orig 2018-07-11 16:49:26 UTC >++++ cli/libtecla/cplfile.c >+@@ -314,7 +314,7 @@ int _cf_complete_file(WordCompletion *cp >+ * might be the start of the last component, and mark the character >+ * that follows it as the start of the name that is to be completed. >+ */ >+- if(nleft >= FS_DIR_SEP_LEN && >++ if((unsigned long)(nleft) >= FS_DIR_SEP_LEN && >+ strncmp(lptr + seglen, FS_DIR_SEP, FS_DIR_SEP_LEN)==0) { >+ word_start = (lptr + seglen) - line + FS_DIR_SEP_LEN; >+ }; >+@@ -394,12 +394,12 @@ int _cf_complete_file(WordCompletion *cp >+ /* >+ * Prevent extra directory separators from being added. >+ */ >+- if(nleft >= FS_DIR_SEP_LEN && >++ if((unsigned long)(nleft) >= FS_DIR_SEP_LEN && >+ strcmp(cf->path->name, FS_ROOT_DIR) == 0 && >+ strncmp(lptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { >+ lptr += FS_DIR_SEP_LEN; >+ nleft -= FS_DIR_SEP_LEN; >+- } else if(vlen > FS_DIR_SEP_LEN && >++ } else if((unsigned long)(vlen) > FS_DIR_SEP_LEN && >+ strcmp(value + vlen - FS_DIR_SEP_LEN, FS_DIR_SEP)==0) { >+ cf->path->name[vlen-FS_DIR_SEP_LEN] = '\0'; >+ }; >+@@ -781,7 +781,7 @@ static char *cf_read_name(CompleteFile * >+ * Get the environment variable name that follows the dollar. >+ */ >+ for(sptr=string,namlen=0; >+- namlen < nmax && (slen-namlen < FS_DIR_SEP_LEN || >++ namlen < nmax && ((unsigned long)(slen-namlen) < FS_DIR_SEP_LEN || >+ strncmp(sptr, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0); >+ namlen++) { >+ nambuf[namlen] = *sptr++; > >Property changes on: files/patch-cplfile.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-element.hh >=================================================================== >--- files/patch-element.hh (nonexistent) >+++ files/patch-element.hh (working copy) >@@ -0,0 +1,11 @@ >+--- policy/common/element.hh.orig 2018-07-03 02:07:04 UTC >++++ policy/common/element.hh >+@@ -24,6 +24,7 @@ >+ #define __POLICY_COMMON_ELEMENT_HH__ >+ >+ >++#pragma clang diagnostic ignored "-Wundefined-var-template" >+ >+ #include "libxorp/ipv4.hh" >+ #include "libxorp/ipv6.hh" >+ > >Property changes on: files/patch-element.hh >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-expand.c >=================================================================== >--- files/patch-expand.c (nonexistent) >+++ files/patch-expand.c (working copy) >@@ -0,0 +1,11 @@ >+--- cli/libtecla/expand.c.orig 2018-07-11 16:57:16 UTC >++++ cli/libtecla/expand.c >+@@ -322,7 +322,7 @@ FileExpansion *ef_expand_file(ExpandFile >+ * If the caller specified that the whole of path[] be matched, >+ * work out the corresponding length. >+ */ >+- if(pathlen < 0 || pathlen > strlen(path)) >++ if(pathlen < 0 || (unsigned long)(pathlen) > strlen(path)) >+ pathlen = strlen(path); >+ /* >+ * Discard previous expansion results. > >Property changes on: files/patch-expand.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-getline.c >=================================================================== >--- files/patch-getline.c (nonexistent) >+++ files/patch-getline.c (working copy) >@@ -0,0 +1,56 @@ >+--- cli/libtecla/getline.c.orig 2018-07-11 18:33:06 UTC >++++ cli/libtecla/getline.c >+@@ -2180,7 +2180,7 @@ static int gl_add_char_to_line(GetLine * >+ * If not, simply return, leaving it up to the calling program >+ * to check for the absence of a newline character. >+ */ >+- if((gl->insert || buff_curpos >= gl->ntotal) && gl->ntotal >= gl->linelen) >++ if((gl->insert || buff_curpos >= gl->ntotal) && (unsigned long)(gl->ntotal) >= gl->linelen) >+ return 0; >+ /* >+ * Are we adding characters to the line (ie. inserting or appending)? >+@@ -2310,7 +2310,7 @@ static int gl_add_string_to_line(GetLine >+ * If not, simply return, leaving it up to the calling program >+ * to check for the absence of a newline character. >+ */ >+- if(gl->ntotal + buff_slen > gl->linelen) >++ if((unsigned long)((gl->ntotal + buff_slen)) > gl->linelen) >+ return 0; >+ /* >+ * Move the characters that follow the cursor in the buffer by >+@@ -4581,7 +4581,7 @@ static KT_KEY_FN(gl_complete_word) >+ /* >+ * Will there be space for the expansion in the line buffer? >+ */ >+- if(gl->ntotal + nextra < gl->linelen) { >++ if((unsigned long)((gl->ntotal + nextra)) < gl->linelen) { >+ /* >+ * Make room to insert the filename extension. >+ */ >+@@ -4726,7 +4726,7 @@ static KT_KEY_FN(gl_expand_filename) >+ /* >+ * Will there be space for the expansion in the line buffer? >+ */ >+- if(gl->ntotal + nextra >= gl->linelen) { >++ if((unsigned long)((gl->ntotal + nextra)) >= gl->linelen) { >+ fprintf(stderr, "\r\nInsufficient room in line for file expansion.\r\n"); >+ redisplay = 1; >+ } else { >+@@ -7104,7 +7104,7 @@ static int gl_interpret_char(GetLine *gl >+ * input line buffer, and watch for the end of the line. >+ */ >+ if(gl->editor == GL_NO_EDITOR) { >+- if(gl->ntotal >= gl->linelen) { >++ if((unsigned long)(gl->ntotal) >= gl->linelen) { >+ ret = 0; >+ goto ret_label; >+ } >+@@ -7813,7 +7813,7 @@ int gl_group_history(GetLine *gl, unsign >+ /* >+ * If the group isn't being changed, do nothing. >+ */ >+- if(_glh_get_group(gl->glh) == id) >++ if((unsigned int)((_glh_get_group(gl->glh))) == id) >+ return 0; >+ /* >+ * Establish the new group. > >Property changes on: files/patch-getline.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-history.c >=================================================================== >--- files/patch-history.c (nonexistent) >+++ files/patch-history.c (working copy) >@@ -0,0 +1,48 @@ >+--- cli/libtecla/history.c.orig 2018-07-11 18:08:59 UTC >++++ cli/libtecla/history.c >+@@ -253,7 +253,7 @@ int _glh_add_history(GlHistory *glh, con >+ /* >+ * If the line is too big to fit in the buffer, truncate it. >+ */ >+- if(nchar > glh->buflen) >++ if((unsigned long)(nchar) > glh->buflen) >+ nchar = glh->buflen; >+ /* >+ * Is the line empty? >+@@ -272,7 +272,7 @@ int _glh_add_history(GlHistory *glh, con >+ * don't add it again, unless explicitly told to. >+ */ >+ if(!force && >+- list->tail && strlen(glh->buffer + list->tail->start) == nchar-1 && >++ list->tail && strlen(glh->buffer + list->tail->start) == (unsigned long)((nchar-1)) && >+ strncmp(line, glh->buffer + list->tail->start, nchar-1)==0) >+ return 0; >+ /* >+@@ -311,7 +311,7 @@ int _glh_add_history(GlHistory *glh, con >+ * at the end of the buffer, then shift the remaining contents >+ * of the buffer to the end of the buffer. >+ */ >+- if(start + nchar >= glh->buflen) { >++ if(start + (unsigned long)(nchar) >= glh->buflen) { >+ GlLineNode *last; /* The last line in the buffer */ >+ GlLineNode *ln; /* A member of the list of line locations */ >+ int shift; /* The shift needed to move the contents of the */ >+@@ -1897,15 +1897,15 @@ static GlLineNode *_glh_find_id(GlHistor >+ /* >+ * Search forwards from 'node'? >+ */ >+- if(node->id < id) { >+- while(node && node->id != id) >++ if((unsigned long)(node->id) < id) { >++ while(node && (unsigned long)(node->id) != id) >+ node = node->next; >+ glh->id_node = node ? node : glh->list.tail; >+ /* >+ * Search backwards from 'node'? >+ */ >+ } else { >+- while(node && node->id != id) >++ while(node && (unsigned long)(node->id) != id) >+ node = node->prev; >+ glh->id_node = node ? node : glh->list.head; >+ }; > >Property changes on: files/patch-history.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-homedir.c >=================================================================== >--- files/patch-homedir.c (nonexistent) >+++ files/patch-homedir.c (working copy) >@@ -0,0 +1,11 @@ >+--- cli/libtecla/homedir.c.orig 2018-07-11 18:41:32 UTC >++++ cli/libtecla/homedir.c >+@@ -146,7 +146,7 @@ HomeDir *_new_HomeDir(void) >+ * a pathname, increase its length. >+ */ >+ pathlen = _pu_pathname_dim(); >+- if(pathlen > home->buflen) >++ if(pathlen > (unsigned long)(home->buflen)) >+ home->buflen = pathlen; >+ /* >+ * Allocate a work buffer. > >Property changes on: files/patch-homedir.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-io__ip__socket.cc >=================================================================== >--- files/patch-io__ip__socket.cc (nonexistent) >+++ files/patch-io__ip__socket.cc (working copy) >@@ -0,0 +1,16 @@ >+--- fea/data_plane/io/io_ip_socket.cc.orig 2018-07-10 15:49:50 UTC >++++ fea/data_plane/io/io_ip_socket.cc >+@@ -2293,10 +2293,10 @@ IoIpSocket::send_packet(const string& if >+ // >+ struct sockaddr_in sin; >+ src_address.copy_out(sin); >+- if (bind(_proto_socket_out, >++ bind(_proto_socket_out, >+ reinterpret_cast<struct sockaddr*>(&sin), >+- sizeof(sin)) >+- < 0) { >++ sizeof(sin)); >++ if ( reinterpret_cast<struct sockaddr*>(&sin) < ((void*)0)) { >+ error_msg = c_format("raw socket bind(%s) failed: %s", >+ cstring(src_address), XSTRERROR); >+ XLOG_ERROR("%s", error_msg.c_str()); > >Property changes on: files/patch-io__ip__socket.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-lex.boot.cc >=================================================================== >--- files/patch-lex.boot.cc (nonexistent) >+++ files/patch-lex.boot.cc (working copy) >@@ -0,0 +1,119 @@ >+--- rtrmgr/lex.boot.cc.orig 2018-07-12 14:00:49 UTC >++++ rtrmgr/lex.boot.cc >+@@ -9674,9 +9674,9 @@ YY_MALLOC_DECL >+ >+ YY_DECL >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp, *yy_bp; >+- register int yy_act; >++ yy_state_type yy_current_state; >++ char *yy_cp, *yy_bp; >++ int yy_act; >+ >+ #line 242 "boot.ll" >+ >+@@ -9723,7 +9723,7 @@ YY_DECL >+ yy_match: >+ do >+ { >+- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >++ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -10246,9 +10246,9 @@ case YY_STATE_EOF(arith): >+ >+ static int yy_get_next_buffer() >+ { >+- register char *dest = yy_current_buffer->yy_ch_buf; >+- register char *source = yytext_ptr; >+- register int number_to_move, i; >++ char *dest = yy_current_buffer->yy_ch_buf; >++ char *source = yytext_ptr; >++ int number_to_move, i; >+ int ret_val; >+ >+ if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) >+@@ -10378,14 +10378,14 @@ static int yy_get_next_buffer() >+ >+ static yy_state_type yy_get_previous_state() >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp; >++ yy_state_type yy_current_state; >++ char *yy_cp; >+ >+ yy_current_state = yy_start; >+ >+ for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) >+ { >+- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >++ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -10417,10 +10417,10 @@ static yy_state_type yy_try_NUL_trans( y >+ yy_state_type yy_current_state; >+ #endif >+ { >+- register int yy_is_jam; >+- register char *yy_cp = yy_c_buf_p; >++ int yy_is_jam; >++ char *yy_cp = yy_c_buf_p; >+ >+- register YY_CHAR yy_c = 1; >++ YY_CHAR yy_c = 1; >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -10441,14 +10441,14 @@ yy_state_type yy_current_state; >+ >+ #ifndef YY_NO_UNPUT >+ #ifdef YY_USE_PROTOS >+-static void yyunput( int c, register char *yy_bp ) >++static void yyunput( int c, char *yy_bp ) >+ #else >+ static void yyunput( c, yy_bp ) >+ int c; >+-register char *yy_bp; >++char *yy_bp; >+ #endif >+ { >+- register char *yy_cp = yy_c_buf_p; >++ char *yy_cp = yy_c_buf_p; >+ >+ /* undo effects of setting up yytext */ >+ *yy_cp = yy_hold_char; >+@@ -10456,10 +10456,10 @@ register char *yy_bp; >+ if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) >+ { /* need to shift things up to make room */ >+ /* +2 for EOB chars. */ >+- register int number_to_move = yy_n_chars + 2; >+- register char *dest = &yy_current_buffer->yy_ch_buf[ >++ int number_to_move = yy_n_chars + 2; >++ char *dest = &yy_current_buffer->yy_ch_buf[ >+ yy_current_buffer->yy_buf_size + 2]; >+- register char *source = >++ char *source = >+ &yy_current_buffer->yy_ch_buf[number_to_move]; >+ >+ while ( source > yy_current_buffer->yy_ch_buf ) >+@@ -10921,7 +10921,7 @@ yyconst char *s2; >+ int n; >+ #endif >+ { >+- register int i; >++ int i; >+ for ( i = 0; i < n; ++i ) >+ s1[i] = s2[i]; >+ } >+@@ -10935,7 +10935,7 @@ static int yy_flex_strlen( s ) >+ yyconst char *s; >+ #endif >+ { >+- register int n; >++ int n; >+ for ( n = 0; s[n]; ++n ) >+ ; >+ > >Property changes on: files/patch-lex.boot.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-lex.opcmd.cc >=================================================================== >--- files/patch-lex.opcmd.cc (nonexistent) >+++ files/patch-lex.opcmd.cc (working copy) >@@ -0,0 +1,119 @@ >+--- rtrmgr/lex.opcmd.cc.orig 2018-07-12 13:48:34 UTC >++++ rtrmgr/lex.opcmd.cc >+@@ -640,9 +640,9 @@ YY_MALLOC_DECL >+ >+ YY_DECL >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp, *yy_bp; >+- register int yy_act; >++ yy_state_type yy_current_state; >++ char *yy_cp, *yy_bp; >++ int yy_act; >+ >+ #line 31 "op_commands.ll" >+ >+@@ -689,7 +689,7 @@ YY_DECL >+ yy_match: >+ do >+ { >+- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >++ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -1085,9 +1085,9 @@ case YY_STATE_EOF(string): >+ >+ static int yy_get_next_buffer() >+ { >+- register char *dest = yy_current_buffer->yy_ch_buf; >+- register char *source = yytext_ptr; >+- register int number_to_move, i; >++ char *dest = yy_current_buffer->yy_ch_buf; >++ char *source = yytext_ptr; >++ int number_to_move, i; >+ int ret_val; >+ >+ if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) >+@@ -1217,14 +1217,14 @@ static int yy_get_next_buffer() >+ >+ static yy_state_type yy_get_previous_state() >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp; >++ yy_state_type yy_current_state; >++ char *yy_cp; >+ >+ yy_current_state = yy_start; >+ >+ for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) >+ { >+- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >++ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -1256,10 +1256,10 @@ static yy_state_type yy_try_NUL_trans( y >+ yy_state_type yy_current_state; >+ #endif >+ { >+- register int yy_is_jam; >+- register char *yy_cp = yy_c_buf_p; >++ int yy_is_jam; >++ char *yy_cp = yy_c_buf_p; >+ >+- register YY_CHAR yy_c = 1; >++ YY_CHAR yy_c = 1; >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -1280,14 +1280,14 @@ yy_state_type yy_current_state; >+ >+ #ifndef YY_NO_UNPUT >+ #ifdef YY_USE_PROTOS >+-static void yyunput( int c, register char *yy_bp ) >++static void yyunput( int c, char *yy_bp ) >+ #else >+ static void yyunput( c, yy_bp ) >+ int c; >+-register char *yy_bp; >++char *yy_bp; >+ #endif >+ { >+- register char *yy_cp = yy_c_buf_p; >++ char *yy_cp = yy_c_buf_p; >+ >+ /* undo effects of setting up yytext */ >+ *yy_cp = yy_hold_char; >+@@ -1295,10 +1295,10 @@ register char *yy_bp; >+ if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) >+ { /* need to shift things up to make room */ >+ /* +2 for EOB chars. */ >+- register int number_to_move = yy_n_chars + 2; >+- register char *dest = &yy_current_buffer->yy_ch_buf[ >++ int number_to_move = yy_n_chars + 2; >++ char *dest = &yy_current_buffer->yy_ch_buf[ >+ yy_current_buffer->yy_buf_size + 2]; >+- register char *source = >++ char *source = >+ &yy_current_buffer->yy_ch_buf[number_to_move]; >+ >+ while ( source > yy_current_buffer->yy_ch_buf ) >+@@ -1760,7 +1760,7 @@ yyconst char *s2; >+ int n; >+ #endif >+ { >+- register int i; >++ int i; >+ for ( i = 0; i < n; ++i ) >+ s1[i] = s2[i]; >+ } >+@@ -1774,7 +1774,7 @@ static int yy_flex_strlen( s ) >+ yyconst char *s; >+ #endif >+ { >+- register int n; >++ int n; >+ for ( n = 0; s[n]; ++n ) >+ ; >+ > >Property changes on: files/patch-lex.opcmd.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-lex.tplt.cc >=================================================================== >--- files/patch-lex.tplt.cc (nonexistent) >+++ files/patch-lex.tplt.cc (working copy) >@@ -0,0 +1,119 @@ >+--- rtrmgr/lex.tplt.cc.orig 2018-07-12 13:54:23 UTC >++++ rtrmgr/lex.tplt.cc >+@@ -8789,9 +8789,9 @@ YY_MALLOC_DECL >+ >+ YY_DECL >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp, *yy_bp; >+- register int yy_act; >++ yy_state_type yy_current_state; >++ char *yy_cp, *yy_bp; >++ int yy_act; >+ >+ #line 230 "template.ll" >+ >+@@ -8838,7 +8838,7 @@ YY_DECL >+ yy_match: >+ do >+ { >+- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >++ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -9471,9 +9471,9 @@ case YY_STATE_EOF(string): >+ >+ static int yy_get_next_buffer() >+ { >+- register char *dest = yy_current_buffer->yy_ch_buf; >+- register char *source = yytext_ptr; >+- register int number_to_move, i; >++ char *dest = yy_current_buffer->yy_ch_buf; >++ char *source = yytext_ptr; >++ int number_to_move, i; >+ int ret_val; >+ >+ if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) >+@@ -9603,14 +9603,14 @@ static int yy_get_next_buffer() >+ >+ static yy_state_type yy_get_previous_state() >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp; >++ yy_state_type yy_current_state; >++ char *yy_cp; >+ >+ yy_current_state = yy_start; >+ >+ for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) >+ { >+- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >++ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -9642,10 +9642,10 @@ static yy_state_type yy_try_NUL_trans( y >+ yy_state_type yy_current_state; >+ #endif >+ { >+- register int yy_is_jam; >+- register char *yy_cp = yy_c_buf_p; >++ int yy_is_jam; >++ char *yy_cp = yy_c_buf_p; >+ >+- register YY_CHAR yy_c = 1; >++ YY_CHAR yy_c = 1; >+ if ( yy_accept[yy_current_state] ) >+ { >+ yy_last_accepting_state = yy_current_state; >+@@ -9666,14 +9666,14 @@ yy_state_type yy_current_state; >+ >+ #ifndef YY_NO_UNPUT >+ #ifdef YY_USE_PROTOS >+-static void yyunput( int c, register char *yy_bp ) >++static void yyunput( int c, char *yy_bp ) >+ #else >+ static void yyunput( c, yy_bp ) >+ int c; >+-register char *yy_bp; >++char *yy_bp; >+ #endif >+ { >+- register char *yy_cp = yy_c_buf_p; >++ char *yy_cp = yy_c_buf_p; >+ >+ /* undo effects of setting up yytext */ >+ *yy_cp = yy_hold_char; >+@@ -9681,10 +9681,10 @@ register char *yy_bp; >+ if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) >+ { /* need to shift things up to make room */ >+ /* +2 for EOB chars. */ >+- register int number_to_move = yy_n_chars + 2; >+- register char *dest = &yy_current_buffer->yy_ch_buf[ >++ int number_to_move = yy_n_chars + 2; >++ char *dest = &yy_current_buffer->yy_ch_buf[ >+ yy_current_buffer->yy_buf_size + 2]; >+- register char *source = >++ char *source = >+ &yy_current_buffer->yy_ch_buf[number_to_move]; >+ >+ while ( source > yy_current_buffer->yy_ch_buf ) >+@@ -10146,7 +10146,7 @@ yyconst char *s2; >+ int n; >+ #endif >+ { >+- register int i; >++ int i; >+ for ( i = 0; i < n; ++i ) >+ s1[i] = s2[i]; >+ } >+@@ -10160,7 +10160,7 @@ static int yy_flex_strlen( s ) >+ yyconst char *s; >+ #endif >+ { >+- register int n; >++ int n; >+ for ( n = 0; s[n]; ++n ) >+ ; >+ > >Property changes on: files/patch-lex.tplt.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-lex.yy__policy__backend__parser.cc >=================================================================== >--- files/patch-lex.yy__policy__backend__parser.cc (nonexistent) >+++ files/patch-lex.yy__policy__backend__parser.cc (working copy) >@@ -0,0 +1,87 @@ >+--- policy/backend/lex.yy_policy_backend_parser.cc.orig 2018-07-10 15:46:56 UTC >++++ policy/backend/lex.yy_policy_backend_parser.cc >+@@ -728,9 +728,9 @@ extern int yy_policy_backend_parserlex ( >+ */ >+ YY_DECL >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp, *yy_bp; >+- register int yy_act; >++ yy_state_type yy_current_state; >++ char *yy_cp, *yy_bp; >++ int yy_act; >+ >+ #line 40 "backend.l" >+ >+@@ -779,7 +779,7 @@ YY_DECL >+ yy_match: >+ do >+ { >+- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >++ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >+ if ( yy_accept[yy_current_state] ) >+ { >+ (yy_last_accepting_state) = yy_current_state; >+@@ -1171,9 +1171,9 @@ case YY_STATE_EOF(STR): >+ */ >+ static int yy_get_next_buffer (void) >+ { >+- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; >+- register char *source = (yytext_ptr); >+- register int number_to_move, i; >++ char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; >++ char *source = (yytext_ptr); >++ int number_to_move, i; >+ int ret_val; >+ >+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) >+@@ -1297,14 +1297,14 @@ static int yy_get_next_buffer (void) >+ >+ static yy_state_type yy_get_previous_state (void) >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp; >++ yy_state_type yy_current_state; >++ char *yy_cp; >+ >+ yy_current_state = (yy_start); >+ >+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) >+ { >+- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >++ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >+ if ( yy_accept[yy_current_state] ) >+ { >+ (yy_last_accepting_state) = yy_current_state; >+@@ -1329,10 +1329,10 @@ static int yy_get_next_buffer (void) >+ */ >+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) >+ { >+- register int yy_is_jam; >+- register char *yy_cp = (yy_c_buf_p); >++ int yy_is_jam; >++ char *yy_cp = (yy_c_buf_p); >+ >+- register YY_CHAR yy_c = 1; >++ YY_CHAR yy_c = 1; >+ if ( yy_accept[yy_current_state] ) >+ { >+ (yy_last_accepting_state) = yy_current_state; >+@@ -1933,7 +1933,7 @@ int yy_policy_backend_parserlex_destroy >+ #ifndef yytext_ptr >+ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) >+ { >+- register int i; >++ int i; >+ for ( i = 0; i < n; ++i ) >+ s1[i] = s2[i]; >+ } >+@@ -1942,7 +1942,7 @@ static void yy_flex_strncpy (char* s1, y >+ #ifdef YY_NEED_STRLEN >+ static int yy_flex_strlen (yyconst char * s ) >+ { >+- register int n; >++ int n; >+ for ( n = 0; s[n]; ++n ) >+ ; >+ > >Property changes on: files/patch-lex.yy__policy__backend__parser.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-lex.yy__policy__parser.cc >=================================================================== >--- files/patch-lex.yy__policy__parser.cc (nonexistent) >+++ files/patch-lex.yy__policy__parser.cc (working copy) >@@ -0,0 +1,87 @@ >+--- policy/lex.yy_policy_parser.cc.orig 2018-07-12 13:40:14 UTC >++++ policy/lex.yy_policy_parser.cc >+@@ -3092,9 +3092,9 @@ extern int yy_policy_parserlex (void); >+ */ >+ YY_DECL >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp, *yy_bp; >+- register int yy_act; >++ yy_state_type yy_current_state; >++ char *yy_cp, *yy_bp; >++ int yy_act; >+ >+ #line 62 "policy.l" >+ >+@@ -3143,7 +3143,7 @@ YY_DECL >+ yy_match: >+ do >+ { >+- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >++ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; >+ if ( yy_accept[yy_current_state] ) >+ { >+ (yy_last_accepting_state) = yy_current_state; >+@@ -3667,9 +3667,9 @@ case YY_STATE_EOF(STR): >+ */ >+ static int yy_get_next_buffer (void) >+ { >+- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; >+- register char *source = (yytext_ptr); >+- register int number_to_move, i; >++ char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; >++ char *source = (yytext_ptr); >++ int number_to_move, i; >+ int ret_val; >+ >+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) >+@@ -3793,14 +3793,14 @@ static int yy_get_next_buffer (void) >+ >+ static yy_state_type yy_get_previous_state (void) >+ { >+- register yy_state_type yy_current_state; >+- register char *yy_cp; >++ yy_state_type yy_current_state; >++ char *yy_cp; >+ >+ yy_current_state = (yy_start); >+ >+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) >+ { >+- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >++ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); >+ if ( yy_accept[yy_current_state] ) >+ { >+ (yy_last_accepting_state) = yy_current_state; >+@@ -3825,10 +3825,10 @@ static int yy_get_next_buffer (void) >+ */ >+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) >+ { >+- register int yy_is_jam; >+- register char *yy_cp = (yy_c_buf_p); >++ int yy_is_jam; >++ char *yy_cp = (yy_c_buf_p); >+ >+- register YY_CHAR yy_c = 1; >++ YY_CHAR yy_c = 1; >+ if ( yy_accept[yy_current_state] ) >+ { >+ (yy_last_accepting_state) = yy_current_state; >+@@ -4429,7 +4429,7 @@ int yy_policy_parserlex_destroy (void) >+ #ifndef yytext_ptr >+ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) >+ { >+- register int i; >++ int i; >+ for ( i = 0; i < n; ++i ) >+ s1[i] = s2[i]; >+ } >+@@ -4438,7 +4438,7 @@ static void yy_flex_strncpy (char* s1, y >+ #ifdef YY_NEED_STRLEN >+ static int yy_flex_strlen (yyconst char * s ) >+ { >+- register int n; >++ int n; >+ for ( n = 0; s[n]; ++n ) >+ ; >+ > >Property changes on: files/patch-lex.yy__policy__parser.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-libproto__packet.cc >=================================================================== >--- files/patch-libproto__packet.cc (revision 474476) >+++ files/patch-libproto__packet.cc (working copy) >@@ -1,5 +1,16 @@ >---- libproto/packet.cc.orig 2012-01-11 17:56:10 UTC >+--- libproto/packet.cc.orig 2018-07-10 12:55:07 UTC > +++ libproto/packet.cc >+@@ -88,8 +88,8 @@ IpHeader4::fragment(size_t mtu, list<vec >+ // >+ memcpy(&frag_buf[0], _data, IpHeader4::SIZE); >+ { >+- register const u_char *cp; >+- register u_char *dp; >++ const u_char *cp; >++ u_char *dp; >+ int opt, optlen, cnt; >+ >+ cp = (const u_char *)(orig_ip4.data() + orig_ip4.size()); > @@ -233,7 +233,7 @@ IpHeader4Writer::compute_checksum() > } > >Index: files/patch-netstream__access.h >=================================================================== >--- files/patch-netstream__access.h (nonexistent) >+++ files/patch-netstream__access.h (working copy) >@@ -0,0 +1,74 @@ >+--- mrt/netstream_access.h.orig 2018-07-12 13:27:04 UTC >++++ mrt/netstream_access.h >+@@ -120,7 +120,7 @@ do { \ >+ >+ #define GET_HOST_16(val, cp, rcvlen) \ >+ do { \ >+- register uint16_t v_; \ >++ uint16_t v_; \ >+ \ >+ if ((size_t)(rcvlen) < (size_t)2) \ >+ goto rcvlen_error; \ >+@@ -132,7 +132,7 @@ do { \ >+ >+ #define PUT_HOST_16(val, cp, buflen) \ >+ do { \ >+- register uint16_t v_; \ >++ uint16_t v_; \ >+ \ >+ if ((size_t)(buflen) < (size_t)2) \ >+ goto buflen_error; \ >+@@ -145,7 +145,7 @@ do { \ >+ #if defined(BYTE_ORDER) && (BYTE_ORDER == LITTLE_ENDIAN) >+ #define GET_NET_16(val, cp, rcvlen) \ >+ do { \ >+- register uint16_t v_; \ >++ uint16_t v_; \ >+ \ >+ if ((size_t)(rcvlen) < (size_t)2) \ >+ goto rcvlen_error; \ >+@@ -156,7 +156,7 @@ do { \ >+ } while (0) >+ #define PUT_NET_16(val, cp, buflen) \ >+ do { \ >+- register uint16_t v_; \ >++ uint16_t v_; \ >+ \ >+ if ((size_t)(buflen) < (size_t)2) \ >+ goto buflen_error; \ >+@@ -174,7 +174,7 @@ do { \ >+ >+ #define GET_HOST_32(val, cp, rcvlen) \ >+ do { \ >+- register uint32_t v_; \ >++ uint32_t v_; \ >+ \ >+ if ((size_t)(rcvlen) < (size_t)4) \ >+ goto rcvlen_error; \ >+@@ -188,7 +188,7 @@ do { \ >+ >+ #define PUT_HOST_32(val, cp, buflen) \ >+ do { \ >+- register uint32_t v_; \ >++ uint32_t v_; \ >+ \ >+ if ((size_t)(buflen) < (size_t)4) \ >+ goto buflen_error; \ >+@@ -203,7 +203,7 @@ do { \ >+ #if defined(BYTE_ORDER) && (BYTE_ORDER == LITTLE_ENDIAN) >+ #define GET_NET_32(val, cp, rcvlen) \ >+ do { \ >+- register uint32_t v_; \ >++ uint32_t v_; \ >+ \ >+ if ((size_t)(rcvlen) < (size_t)4) \ >+ goto rcvlen_error; \ >+@@ -217,7 +217,7 @@ do { \ >+ >+ #define PUT_NET_32(val, cp, buflen) \ >+ do { \ >+- register uint32_t v_; \ >++ uint32_t v_; \ >+ \ >+ if ((size_t)(buflen) < (size_t)4) \ >+ goto buflen_error; \ > >Property changes on: files/patch-netstream__access.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+Author Date Id Rev URL >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-pathutil.c >=================================================================== >--- files/patch-pathutil.c (nonexistent) >+++ files/patch-pathutil.c (working copy) >@@ -0,0 +1,38 @@ >+--- cli/libtecla/pathutil.c.orig 2018-07-10 13:09:21 UTC >++++ cli/libtecla/pathutil.c >+@@ -168,7 +168,7 @@ char *_pn_append_to_path(PathName *path, >+ /* >+ * How many characters should be appended? >+ */ >+- if(slen < 0 || slen > strlen(string)) >++ if(slen < 0 || (unsigned long)(slen) > strlen(string)) >+ slen = strlen(string); >+ /* >+ * Resize the pathname if needed. >+@@ -239,7 +239,7 @@ char *_pn_prepend_to_path(PathName *path >+ /* >+ * How many characters should be appended? >+ */ >+- if(slen < 0 || slen > strlen(string)) >++ if(slen < 0 || (unsigned long)(slen) > strlen(string)) >+ slen = strlen(string); >+ /* >+ * Work out how far we need to shift the original path string to make >+@@ -494,7 +494,7 @@ char *_pu_start_of_path(const char *stri >+ break; >+ }; >+ }; >+- return (char *)string + i + 1; >++ return (char *)(string + i + 1); >+ } >+ >+ /*....................................................................... >+@@ -534,7 +534,7 @@ char *_pu_end_of_path(const char *string >+ escaped = 1; >+ }; >+ }; >+- return (char *)string + i; >++ return (char *)(string + i); >+ } >+ >+ /*....................................................................... > >Property changes on: files/patch-pathutil.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-pcache.c >=================================================================== >--- files/patch-pcache.c (nonexistent) >+++ files/patch-pcache.c (working copy) >@@ -0,0 +1,38 @@ >+--- cli/libtecla/pcache.c.orig 2018-07-11 18:23:55 UTC >++++ cli/libtecla/pcache.c >+@@ -601,7 +601,7 @@ static int pca_extract_dir(PathCache *pc >+ */ >+ { >+ int dirlen = strlen(pc->path->name); >+- if(dirlen < FS_DIR_SEP_LEN || >++ if((unsigned long)(dirlen) < FS_DIR_SEP_LEN || >+ strncmp(pc->path->name + dirlen - FS_DIR_SEP_LEN, FS_DIR_SEP, >+ FS_DIR_SEP_LEN) != 0) { >+ if(_pn_append_to_path(pc->path, FS_DIR_SEP, FS_DIR_SEP_LEN, 0) == NULL) { >+@@ -1500,7 +1500,7 @@ static int cpa_cmd_contains_path(const c >+ * If the filename starts with the root directory, then it obviously >+ * starts with a pathname. >+ */ >+- if(prefix_len >= FS_ROOT_DIR_LEN && >++ if((unsigned long)(prefix_len) >= FS_ROOT_DIR_LEN && >+ strncmp(prefix, FS_ROOT_DIR, FS_ROOT_DIR_LEN) == 0) >+ return 1; >+ /* >+@@ -1509,7 +1509,7 @@ static int cpa_cmd_contains_path(const c >+ * starts with a pathname specification (valid or otherwise). >+ */ >+ for(i=0; i<prefix_len; i++) { >+- if(prefix_len - i >= FS_DIR_SEP_LEN && >++ if((unsigned long)((prefix_len - i)) >= FS_DIR_SEP_LEN && >+ strncmp(prefix + i, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) >+ return 1; >+ }; >+@@ -1653,7 +1653,7 @@ static int pca_expand_tilde(PathCache *p >+ * skip over it so that it doesn't get copied into the output pathname >+ */ >+ if(homedir && strcmp(homedir, FS_ROOT_DIR) == 0 && >+- (pptr-path) + FS_DIR_SEP_LEN < pathlen && >++ (pptr-path) + FS_DIR_SEP_LEN < (unsigned long)(pathlen) && >+ strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { >+ pptr += FS_DIR_SEP_LEN; >+ }; > >Property changes on: files/patch-pcache.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-popen.cc >=================================================================== >--- files/patch-popen.cc (nonexistent) >+++ files/patch-popen.cc (working copy) >@@ -0,0 +1,11 @@ >+--- libxorp/popen.cc.orig 2018-07-10 12:54:42 UTC >++++ libxorp/popen.cc >+@@ -424,7 +424,7 @@ popen2(const string& command, const list >+ int >+ pclose2(FILE *iop_out, bool dont_wait) >+ { >+- register struct pid_s *cur, *last; >++ struct pid_s *cur, *last; >+ int pstat = 0; >+ pid_t pid = 0; >+ > >Property changes on: files/patch-popen.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-strptime.c >=================================================================== >--- files/patch-strptime.c (nonexistent) >+++ files/patch-strptime.c (working copy) >@@ -0,0 +1,15 @@ >+--- libxorp/strptime.c.orig 2018-07-10 12:54:53 UTC >++++ libxorp/strptime.c >+@@ -85,10 +85,10 @@ >+ #define TM_YEAR_BASE 1900 >+ #endif >+ >+-static inline void * >++static inline const char * >+ UNCONST(const void *a) >+ { >+- return ((const char *)a - (const char *)0) + (char *)0; >++ return ((const char *)a - sizeof((const char *)0)) + sizeof((char *)0); >+ } >+ >+ > >Property changes on: files/patch-strptime.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-y.boot__tab.cc >=================================================================== >--- files/patch-y.boot__tab.cc (nonexistent) >+++ files/patch-y.boot__tab.cc (working copy) >@@ -0,0 +1,14 @@ >+--- rtrmgr/y.boot_tab.cc.orig 2018-07-12 14:14:48 UTC >++++ rtrmgr/y.boot_tab.cc >+@@ -474,9 +474,9 @@ int >+ yyparse (YYPARSE_PARAM_ARG) >+ YYPARSE_PARAM_DECL >+ { >+- register int yym, yyn, yystate; >++ int yym, yyn, yystate; >+ #if YYDEBUG >+- register const char *yys; >++ const char *yys; >+ >+ if ((yys = getenv("YYDEBUG"))) >+ { > >Property changes on: files/patch-y.boot__tab.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-y.opcmd__tab.cc >=================================================================== >--- files/patch-y.opcmd__tab.cc (nonexistent) >+++ files/patch-y.opcmd__tab.cc (working copy) >@@ -0,0 +1,14 @@ >+--- rtrmgr/y.opcmd_tab.cc.orig 2018-07-12 14:13:19 UTC >++++ rtrmgr/y.opcmd_tab.cc >+@@ -684,9 +684,9 @@ int >+ yyparse (YYPARSE_PARAM_ARG) >+ YYPARSE_PARAM_DECL >+ { >+- register int yym, yyn, yystate; >++ int yym, yyn, yystate; >+ #if YYDEBUG >+- register const char *yys; >++ const char *yys; >+ >+ if ((yys = getenv("YYDEBUG"))) >+ { > >Property changes on: files/patch-y.opcmd__tab.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-y.tplt__tab.cc >=================================================================== >--- files/patch-y.tplt__tab.cc (nonexistent) >+++ files/patch-y.tplt__tab.cc (working copy) >@@ -0,0 +1,14 @@ >+--- rtrmgr/y.tplt_tab.cc.orig 2018-07-12 14:20:17 UTC >++++ rtrmgr/y.tplt_tab.cc >+@@ -552,9 +552,9 @@ int >+ yyparse (YYPARSE_PARAM_ARG) >+ YYPARSE_PARAM_DECL >+ { >+- register int yym, yyn, yystate; >++ int yym, yyn, yystate; >+ #if YYDEBUG >+- register const char *yys; >++ const char *yys; >+ >+ if ((yys = getenv("YYDEBUG"))) >+ { > >Property changes on: files/patch-y.tplt__tab.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/xorp.in >=================================================================== >--- files/xorp.in (revision 474476) >+++ files/xorp.in (working copy) >@@ -1,6 +1,6 @@ > #!/bin/sh > # >-# $FreeBSD$ >+# $FreeBSD: head/net/xorp/files/xorp.in 346231 2014-02-26 21:54:59Z antoine $ > # > # A sample XORP startup script. > # > >Property changes on: files/xorp.in >___________________________________________________________________ >Deleted: svn:keywords >## -1 +0,0 ## >-FreeBSD=%H >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217152
:
194840
|
194845
|
195056
|
195057
|
195059
|
195071
|
195073
|
195086
|
195088
|
195089
| 195094 |
195125