Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2017 16:34:22 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317753 - head/lib/libc/gen
Message-ID:  <201705031634.v43GYMNV051647@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Wed May  3 16:34:22 2017
New Revision: 317753
URL: https://svnweb.freebsd.org/changeset/base/317753

Log:
  glob: Fix an overlong line
  
  Trivial style(9) fix, no functional change.  There are also some 81
  characters lines below, but I don't see a good way to shorten them.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libc/gen/glob.c

Modified: head/lib/libc/gen/glob.c
==============================================================================
--- head/lib/libc/gen/glob.c	Wed May  3 16:34:03 2017	(r317752)
+++ head/lib/libc/gen/glob.c	Wed May  3 16:34:22 2017	(r317753)
@@ -936,7 +936,8 @@ match(Char *name, Char *pat, Char *paten
 				ok = 0;
 				if ((k = *name++) == EOS)
 					goto fail;
-				if ((negate_range = ((*pat & M_MASK) == M_NOT)) != 0)
+				negate_range = ((*pat & M_MASK) == M_NOT);
+				if (negate_range != 0)
 					++pat;
 				while (((c = *pat++) & M_MASK) != M_END)
 					if ((*pat & M_MASK) == M_RNG) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705031634.v43GYMNV051647>