All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Hoyer <harald@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] fix enumeration for write_cd_rules
Date: Mon, 22 Dec 2008 11:26:06 +0000	[thread overview]
Message-ID: <494F794E.8040502@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-quote-as-it-would-be-taken-as-a-part-of-the-regex.patch --]
[-- Type: text/plain, Size: 895 bytes --]

From 59dbbb61c7c9bd15aa19f9e88334d9e75c3a3ab2 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 22 Dec 2008 12:23:34 +0100
Subject: [PATCH] quote +, as it would be taken as a part of the regexp otherwise

fix for https://bugzilla.redhat.com/show_bug.cgi?id=477535
---
 extras/rule_generator/write_cd_rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/rule_generator/write_cd_rules b/extras/rule_generator/write_cd_rules
index 8de2276..398cd27 100644
--- a/extras/rule_generator/write_cd_rules
+++ b/extras/rule_generator/write_cd_rules
@@ -23,7 +23,7 @@ RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules"
 . /lib/udev/rule_generator.functions
 
 find_next_available() {
-	raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")"
+	raw_find_next_available "$(find_all_rules 'SYMLINK\+=' "$1")"
 }
 
 write_rule() {
-- 
1.6.0.4


             reply	other threads:[~2008-12-22 11:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-22 11:26 Harald Hoyer [this message]
2008-12-22 14:06 ` [PATCH] fix enumeration for write_cd_rules Kay Sievers

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=494F794E.8040502@redhat.com \
    --to=harald@redhat.com \
    --cc=linux-hotplug@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.