From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com
Subject: [Qemu-devel] [PATCH 01/14] get_maintainer.pl: \C is deprecated
Date: Tue, 22 Sep 2015 11:56:40 +0200 [thread overview]
Message-ID: <1442915813-21059-2-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1442915813-21059-1-git-send-email-pbonzini@redhat.com>
"Match a single C-language char (octet) even if that is part of a larger
UTF-8 character. Thus it breaks up characters into their UTF-8 bytes,
so you may end up with malformed pieces of UTF-8."
Just use a period instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
scripts/get_maintainer.pl | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index f39630e..7dacf32 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -258,7 +258,7 @@ open (my $maint, '<', "${lk_path}MAINTAINERS")
while (<$maint>) {
my $line = $_;
- if ($line =~ m/^(\C):\s*(.*)/) {
+ if ($line =~ m/^(.):\s*(.*)/) {
my $type = $1;
my $value = $2;
@@ -493,7 +493,7 @@ sub range_is_maintained {
for (my $i = $start; $i < $end; $i++) {
my $line = $typevalue[$i];
- if ($line =~ m/^(\C):\s*(.*)/) {
+ if ($line =~ m/^(.):\s*(.*)/) {
my $type = $1;
my $value = $2;
if ($type eq 'S') {
@@ -511,7 +511,7 @@ sub range_has_maintainer {
for (my $i = $start; $i < $end; $i++) {
my $line = $typevalue[$i];
- if ($line =~ m/^(\C):\s*(.*)/) {
+ if ($line =~ m/^(.):\s*(.*)/) {
my $type = $1;
my $value = $2;
if ($type eq 'M') {
@@ -560,7 +560,7 @@ sub get_maintainers {
for ($i = $start; $i < $end; $i++) {
my $line = $typevalue[$i];
- if ($line =~ m/^(\C):\s*(.*)/) {
+ if ($line =~ m/^(.):\s*(.*)/) {
my $type = $1;
my $value = $2;
if ($type eq 'X') {
@@ -575,7 +575,7 @@ sub get_maintainers {
if (!$exclude) {
for ($i = $start; $i < $end; $i++) {
my $line = $typevalue[$i];
- if ($line =~ m/^(\C):\s*(.*)/) {
+ if ($line =~ m/^(.):\s*(.*)/) {
my $type = $1;
my $value = $2;
if ($type eq 'F') {
@@ -855,7 +855,7 @@ sub find_first_section {
while ($index < @typevalue) {
my $tv = $typevalue[$index];
- if (($tv =~ m/^(\C):\s*(.*)/)) {
+ if (($tv =~ m/^(.):\s*(.*)/)) {
last;
}
$index++;
@@ -869,7 +869,7 @@ sub find_starting_index {
while ($index > 0) {
my $tv = $typevalue[$index];
- if (!($tv =~ m/^(\C):\s*(.*)/)) {
+ if (!($tv =~ m/^(.):\s*(.*)/)) {
last;
}
$index--;
@@ -883,7 +883,7 @@ sub find_ending_index {
while ($index < @typevalue) {
my $tv = $typevalue[$index];
- if (!($tv =~ m/^(\C):\s*(.*)/)) {
+ if (!($tv =~ m/^(.):\s*(.*)/)) {
last;
}
$index++;
@@ -909,7 +909,7 @@ sub get_maintainer_role {
for ($i = $start + 1; $i < $end; $i++) {
my $tv = $typevalue[$i];
- if ($tv =~ m/^(\C):\s*(.*)/) {
+ if ($tv =~ m/^(.):\s*(.*)/) {
my $ptype = $1;
my $pvalue = $2;
if ($ptype eq "S") {
@@ -968,7 +968,7 @@ sub add_categories {
for ($i = $start + 1; $i < $end; $i++) {
my $tv = $typevalue[$i];
- if ($tv =~ m/^(\C):\s*(.*)/) {
+ if ($tv =~ m/^(.):\s*(.*)/) {
my $ptype = $1;
my $pvalue = $2;
if ($ptype eq "L") {
@@ -1010,7 +1010,7 @@ sub add_categories {
if ($name eq "") {
if ($i > 0) {
my $tv = $typevalue[$i - 1];
- if ($tv =~ m/^(\C):\s*(.*)/) {
+ if ($tv =~ m/^(.):\s*(.*)/) {
if ($1 eq "P") {
$name = $2;
$pvalue = format_email($name, $address, $email_usename);
--
2.5.0
next prev parent reply other threads:[~2015-09-22 9:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 9:56 [Qemu-devel] [PATCH 00/14] Maintainers TLC Paolo Bonzini
2015-09-22 9:56 ` Paolo Bonzini [this message]
2015-09-22 9:56 ` [Qemu-devel] [PATCH 02/14] MAINTAINERS: there is no PPC64 TCG backend anymore Paolo Bonzini
2015-09-24 12:21 ` Markus Armbruster
2015-09-24 15:49 ` Michael Tokarev
2015-09-24 16:21 ` Markus Armbruster
2015-09-22 9:56 ` [Qemu-devel] [PATCH 03/14] MAINTAINERS: Add disassemblers to the various backends Paolo Bonzini
2015-09-22 9:56 ` [Qemu-devel] [PATCH 05/14] MAINTAINERS: Add more s390 files Paolo Bonzini
2015-09-22 10:30 ` Christian Borntraeger
2015-09-22 9:56 ` [Qemu-devel] [PATCH 06/14] MAINTAINERS: add IPack section Paolo Bonzini
2015-09-22 10:14 ` Alberto Garcia
2015-09-22 9:56 ` [Qemu-devel] [PATCH 07/14] MAINTAINERS: add two devices to the e500 section Paolo Bonzini
2015-09-22 9:56 ` [Qemu-devel] [PATCH 08/14] MAINTAINERS: add more devices to the PC section Paolo Bonzini
2015-09-22 10:40 ` Michael S. Tsirkin
2015-09-22 10:41 ` Michael S. Tsirkin
2015-09-22 9:56 ` [Qemu-devel] [PATCH 09/14] MAINTAINERS: add more devices to the PCI section Paolo Bonzini
2015-09-22 10:42 ` Michael S. Tsirkin
2015-09-22 9:56 ` [Qemu-devel] [PATCH 10/14] MAINTAINERS: add maintainer for character device front-ends Paolo Bonzini
2015-09-22 9:56 ` [Qemu-devel] [PATCH 11/14] MAINTAINERS: add maintainer for network " Paolo Bonzini
2015-09-24 3:15 ` Jason Wang
2015-09-22 9:56 ` [Qemu-devel] [PATCH 12/14] MAINTAINERS: Add more pxa2xx files and boards Paolo Bonzini
2015-09-22 9:56 ` [Qemu-devel] [PATCH 13/14] MAINTAINERS: Add maintainer for ARM PrimeCell and integrated devices Paolo Bonzini
2015-09-22 13:33 ` Thomas Huth
2015-09-22 9:56 ` [Qemu-devel] [PATCH 14/14] MAINTAINERS: Add more devices to realview board Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442915813-21059-2-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).