FreeBSD Bugzilla – Attachment 195073 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_v6
svn-diff-xorp (text/plain), 20.83 KB, created by
Walter Schwarzenfeld
on 2018-07-12 11:55:09 UTC
(
hide
)
Description:
svn-diff-xorp_v6
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2018-07-12 11:55:09 UTC
Size:
20.83 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,27 @@ > variables = vars) > > prefix = env['prefix'] >-@@ -880,6 +871,7 @@ env.AppendUnique(CFLAGS = [ >- '-Wcast-align', >+@@ -877,9 +868,11 @@ env.AppendUnique(CFLAGS = [ >+ '-Wcast-qual', >+ '-Wmissing-declarations', >+ '-Wpointer-arith', >+- '-Wcast-align', > '-Wstrict-prototypes', > '-Wnested-externs', > + '-Wno-unused-function', >++ '-Wno-undefined-var-template', >++ '-Wno-unused-parameter', > '-pipe', > ]) > >+@@ -889,9 +882,8 @@ env.AppendUnique(CXXFLAGS = [ >+ '-Wwrite-strings', >+ '-Wcast-qual', >+ '-Wpointer-arith', >+- '-Wcast-align', >+ '-Woverloaded-virtual', >+- '-ftemplate-depth-25', >++ '-Wno-undefined-var-template', >+ '-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-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.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-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-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/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