[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [patch #8301] Use strrchr() instead of rindex()

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


                 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



Nowadays strrchr() is preferred over rindex() [1].

This fixes compilation with androids bionic libc, which has strrchr() but not

  [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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]