Date: Thu, 17 Aug 2017 09:03:51 -0500 From: Kyle Evans <kevans@freebsd.org> To: Steven Hartland <steven.hartland@multiplay.co.uk> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: Re: svn commit: r322619 - stable/11/usr.bin/grep Message-ID: <CACNAnaGHbn-4iZTW11FRrf2VE_ZwWK%2Be-czv9rSreJav0F_Z1g@mail.gmail.com> In-Reply-To: <d582be83-92c2-6b8c-37f1-027912a28022@multiplay.co.uk> References: <201708171348.v7HDmkqe045347@repo.freebsd.org> <d582be83-92c2-6b8c-37f1-027912a28022@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Previous commit had broken the build and the fix had been prepared/tested locally for a while due to other changes On Thu, Aug 17, 2017 at 8:55 AM, Steven Hartland < steven.hartland@multiplay.co.uk> wrote: > This seems a little quick considering it only hit head 8 mins ago. > > > On 17/08/2017 14:48, Kyle Evans wrote: > > Author: kevans > Date: Thu Aug 17 13:48:46 2017 > New Revision: 322619 > URL: https://svnweb.freebsd.org/changeset/base/322619 > > Log: > bsdgrep: fix build when linking against libgnuregex > > MFC r322618: bsdgrep: cast pmatch.rm_so to fix build when linking against > libgnuregex > > Approved by: emaste (mentor) > > Modified: > stable/11/usr.bin/grep/util.c > Directory Properties: > stable/11/ (props changed) > > Modified: stable/11/usr.bin/grep/util.c > ============================================================================== > --- stable/11/usr.bin/grep/util.c Thu Aug 17 13:40:45 2017 (r322618) > +++ stable/11/usr.bin/grep/util.c Thu Aug 17 13:48:46 2017 (r322619) > @@ -450,7 +450,7 @@ procline(struct parsec *pc) > */ > if (r == REG_NOMATCH && > (retry == pc->lnstart || > - pmatch.rm_so + 1 < retry)) > + (unsigned int)pmatch.rm_so + 1 < retry)) > retry = pmatch.rm_so + 1; > if (r == REG_NOMATCH) > continue; > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGHbn-4iZTW11FRrf2VE_ZwWK%2Be-czv9rSreJav0F_Z1g>