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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to