Wireshark mailing list archives
Re: [Wireshark-commits] rev 32597: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-iscsi.c
From: Jakub Zawadzki <darkjames () darkjames ath cx>
Date: Thu, 29 Apr 2010 22:01:50 +0200
On Thu, Apr 29, 2010 at 11:41:43AM -0700, Guy Harris wrote:
On Apr 29, 2010, at 7:38 AM, morriss () wireshark org wrote:http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32597 User: morriss Date: 2010/04/29 07:38 AM Log: Use strchr() instead of index()--Windows doesn't appear to have the latter.Some older System V's also might not have the latter, although, these days, most UN*Xes have both. (V7 had index() and rindex(), and BSD came from that stream; System III, and possibly the earlier USG/USDL UNIXes, renamed them to strchr() and strrchr(). As indicated, most UN*Xes these days offer both, to support building software written for both flavors. The ANSI C standard went with strchr() and strrchr(), so that's what should be used in any case.)
What about g_utf8_strchr() ? ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 32597: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-iscsi.c Guy Harris (Apr 29)
- Re: [Wireshark-commits] rev 32597: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-iscsi.c Jakub Zawadzki (Apr 29)