|
From: | anonymous |
Subject: | [Weechat-dev] [patch #8301] Use strrchr() instead of rindex() |
Date: | Sat, 01 Feb 2014 14:41:58 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?8301> Summary: Use strrchr() instead of rindex() Project: WeeChat Submitted by: None Submitted on: Sat 01 Feb 2014 02:41:56 PM UTC Category: compilation Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any IRC nick: fornwall _______________________________________________________ Details: Nowadays strrchr() is preferred over rindex() [1]. This fixes compilation with androids bionic libc, which has strrchr() but not rindex(). [1]: http://pubs.opengroup.org/onlinepubs/007904975/functions/rindex.html _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 01 Feb 2014 02:41:56 PM UTC Name: strrchr_insteadof_rindex.patch Size: 563B By: None <http://savannah.nongnu.org/patch/download.php?file_id=30432> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8301> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |