1 --- mtr/ui/curses.c 2017-06-02 08:54:58.000000000 +0000
2 +++ ./ui/curses.c 2017-10-21 22:47:23.221332133 +0000
7 - if (index(format, 'N')) {
8 + if (strchr(format, 'N')) {
10 format_number(n, 5, dst);
11 } else if (strchr(format, 'f')) {
13 --- mtr/ui/cmdpipe.c 2017-10-21 22:50:49.843505234 +0000
14 +++ ./ui/cmdpipe.c 2017-10-21 22:51:08.507344155 +0000
18 /* If no newline is found, our reply isn't yet complete */
19 - end_of_reply = index(reply_start, '\n');
20 + end_of_reply = strchr(reply_start, '\n');
21 if (end_of_reply == NULL) {
22 /* No complete replies remaining */
24 --- mtr/packet/command.c 2017-06-02 08:54:58.000000000 +0000
25 +++ ./packet/command.c 2017-10-21 22:55:13.321277161 +0000
27 buffer->incoming_buffer[buffer->incoming_read_position] = 0;
29 /* Find the next newline, which terminates command requests */
30 - end_of_command = index(buffer->incoming_buffer, '\n');
31 + end_of_command = strchr(buffer->incoming_buffer, '\n');
32 if (end_of_command == NULL) {
34 No newlines found, so any data we've read so far is