Re: commit 23cb8490c0d3 ("MAINTAINERS: fix bad file pattern")

From: Joe Perches
Date: Mon Mar 30 2020 - 04:57:02 EST


On Mon, 2020-03-30 at 10:35 +0300, Andy Shevchenko wrote:
> On Mon, Mar 30, 2020 at 5:38 AM Joe Perches <joe@xxxxxxxxxxx> wrote:
> > MAINTAINERS: fix bad file pattern
> >
> > Testing 'parse-maintainers' due to the previous commit shows a bad file
> > pattern for the "TI VPE/CAL DRIVERS" entry in the MAINTAINERS file.
> >
> > There's also a lot of mis-ordered entries, but I'm still a bit nervous
> > about the inevitable and annoying merge problems it would probably cause
> > to fix them up.
>
> I'm wondering if order depends to current locale. If so, the script
> should override locale as well.

Perhaps:
---
diff --git a/scripts/parse-maintainers.pl b/scripts/parse-maintainers.pl
index 2ca4eb3..08db9b 100755
--- a/scripts/parse-maintainers.pl
+++ b/scripts/parse-maintainers.pl
@@ -3,6 +3,7 @@

use strict;
use Getopt::Long qw(:config no_auto_abbrev);
+no locale;

my $input_file = "MAINTAINERS";
my $output_file = "MAINTAINERS.new";