Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 01:46:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221079] freebsd-update: sort before uniq at fetch_make_patchlist ()
Message-ID:  <bug-221079-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221079

            Bug ID: 221079
           Summary: freebsd-update: sort before uniq at
                    fetch_make_patchlist ()
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ish@amail.plala.or.jp

The fetch_make_patchlist () in freebsd-update is not sort before uniq.
Please sort before uniq.

=3D=3D=3D=3D=3D start of patch =3D=3D=3D=3D=3D
--- freebsd-update.org  2017-07-03 23:39:55.857074000 +0900
+++ freebsd-update      2017-07-29 10:41:51.403160000 +0900
@@ -1047,7 +1047,7 @@
                                continue
                        fi
                        echo "${X}|${Y}"
-               done | uniq
+               done | sort | uniq
 }

 # Print user-friendly progress statistics
=3D=3D=3D=3D=3D end of patch =3D=3D=3D=3D=3D

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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