This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New common function "startswith"


On Tue, Mar 3, 2015 at 5:10 AM, Gary Benson <gbenson@redhat.com> wrote:
> Hi all,
>
> This patch introduces a new common function "startswith" which takes
> two string arguments and returns nonzero if the first string starts
> with the second.  It also updates the 180 places where this logic was
> written out longhand to use the new function.

Awesome!
Thanks for doing this.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]