From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41911 invoked by alias); 27 Jan 2016 21:04:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 41895 invoked by uid 89); 27 Jan 2016 21:04:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy= X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 27 Jan 2016 21:04:50 +0000 Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id AC.65.06940.B1E29A65; Wed, 27 Jan 2016 21:52:43 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.95) with Microsoft SMTP Server id 14.3.248.2; Wed, 27 Jan 2016 16:04:47 -0500 Subject: Re: [PATCH] Introduce skip_to_char and use it To: Pedro Alves , Sergio Durigan Junior References: <1453845250-30360-1-git-send-email-simon.marchi@ericsson.com> <878u3b24f8.fsf@redhat.com> <56A8A855.8050208@redhat.com> <56A90C10.9050402@ericsson.com> CC: From: Simon Marchi Message-ID: <56A930EF.5040502@ericsson.com> Date: Wed, 27 Jan 2016 21:04:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56A90C10.9050402@ericsson.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00679.txt.bz2 On 16-01-27 01:27 PM, Simon Marchi wrote: > On 16-01-27 06:21 AM, Pedro Alves wrote: >> That sounds just like strchrnul, though. It's not available everywhere, >> but, gnulib has a strchrnul module that fixes that. > > Sounds good, I'll prepare a patch that uses that instead. > > Thanks, > > Simon Here is the patch: https://sourceware.org/ml/gdb-patches/2016-01/msg00678.html