portbind adds p, not i, flag.
This commit is contained in:
parent
1951a81a0b
commit
94914382c2
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#ident "$Id: main.c,v 1.51 2003/02/22 04:12:49 steve Exp $"
|
||||
#ident "$Id: main.c,v 1.52 2003/02/22 04:55:36 steve Exp $"
|
||||
|
||||
# include "config.h"
|
||||
|
||||
|
|
@ -258,7 +258,7 @@ static void process_warning_switch(const char*name)
|
|||
strcat(warning_flags, "i");
|
||||
} else if (strcmp(name,"portbind") == 0) {
|
||||
if (! strchr(warning_flags+2, 'p'))
|
||||
strcat(warning_flags, "i");
|
||||
strcat(warning_flags, "p");
|
||||
} else if (strcmp(name,"timescale") == 0) {
|
||||
if (! strchr(warning_flags+2, 't'))
|
||||
strcat(warning_flags, "t");
|
||||
|
|
@ -697,6 +697,9 @@ int main(int argc, char **argv)
|
|||
|
||||
/*
|
||||
* $Log: main.c,v $
|
||||
* Revision 1.52 2003/02/22 04:55:36 steve
|
||||
* portbind adds p, not i, flag.
|
||||
*
|
||||
* Revision 1.51 2003/02/22 04:12:49 steve
|
||||
* Add the portbind warning.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue