diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 8ed488c1..531846b8 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,7 @@ +2009-02-25 Arnim Laeuger + + * src/svf/svf_flex.l: [ 2635979 ] Replace index() to strchr() + 2009-02-23 Arnim Laeuger * src/tap/usbconn/libftdi.c, src/tap/usbconn/libftd2xx.c: diff --git a/jtag/src/svf/svf_flex.l b/jtag/src/svf/svf_flex.l index 4b9a90c6..f7730651 100644 --- a/jtag/src/svf/svf_flex.l +++ b/jtag/src/svf/svf_flex.l @@ -101,7 +101,7 @@ COMMENT (!.*)|("//".*)[^\n] on the locale settings. */ if (real_string) { - char *point_pos = index(real_string, '.'); + char *point_pos = strchr(real_string, '.'); YY_EXTRA_TYPE extra = yyget_extra(yyscanner); if (point_pos)