[Bug 221079] freebsd-update: sort before uniq at fetch_make_patchlist ()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 29 01:46:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221079

            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 at FreeBSD.org
          Reporter: ish at amail.plala.or.jp

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

===== start of patch =====
--- 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
===== end of patch =====

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


More information about the freebsd-bugs mailing list