Print this page
6924 make libc copyright file contents deterministic

@@ -10,10 +10,11 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
 #
 # Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
+# Copyright 2016 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
 #
 
 #
 # This extracts all the BSD copyrights (excluding the CDDL licenses)
 # for use in a THIRDPARTYLICENSE file.  It tries hard to avoid duplicates.

@@ -104,10 +105,13 @@
         } elsif (-f $a) {
                 push(@FILES, $a);
         }
 }
 
+# sort files to get a stable ordering to aid wsdiff(1onbld)
+@FILES = sort @FILES;
+
 foreach $a (@FILES) {
         dofile($a);
 }
 
 foreach my $lic (keys %LICENSE) {