Hey Rob,<br><br> Options mutual exclusion handling is having a Seg Fault in function gotflag.<br>The block handling this doesn't have a terminating condition, hence once it goes beyond the options list, it crashes.<br>
<br>At my end I have modified the code block from<br>if (toys.optflags & gof->excludes) {<br>    struct opts *bad;<br>   
 unsigned i = 
1;                                                                                                                                                            
 <br>     <br>  <span style="color:rgb(204,0,0)"><b>  for (bad=gof->opts; (gof->excludes && i; bad = bad->next) i<<=1;</b></span><br>    error_exit("No '%c' with '%c'", opt->c, bad->c);<br>
  }<br><br>to<br><br>if (toys.optflags & gof->excludes) {<br>    struct opts *bad;<br>    unsigned i = 1;                                                                                                                                                             <br>
     <br>   <span style="color:rgb(51,51,255)"><b> gof->excludes &= ~opt->dex[1];<br>    for (bad=gof->opts; bad && !(gof->excludes & i & toys.optflags) ; bad = bad->next) i<<=1;</b></span><br>
    error_exit("No '%c' with '%c'", opt->c, bad->c);<br>  }<br><br>Please have a look and add the same to the mainline.<br><br>regards,<br>Ashwini Kumar<br>