linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Darren Salt <linux@youmustbejoking.demon.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] fix LINK_ZERO parsing in cdsymlinks.c
Date: Tue, 06 Sep 2005 17:45:42 +0000	[thread overview]
Message-ID: <4DA640EBAF%linux@youmustbejoking.demon.co.uk> (raw)
In-Reply-To: <m364tea44g.fsf@dynamo.mandriva.com>

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

I demand that Olivier Blin may or may not have written...

> The following patch from J.A. Magallon fixes LINK_ZERO parsing in
> cdsymlinks.c

Good catch...

I'm attaching that patch *uncompressed* and with appropriate adjustments to
the comments at the start of the file.

-- 
| Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk
| Debian,     | Northumberland | s zap,tartarus,org
| RISC OS     | Toon Army      | @
|   One brown paper bag, recently used.

If you notice this notice, you'll notice this notice is not worth noticing.

[-- Attachment #2: udev-068-cdsymlinks.c.patch --]
[-- Type: text/plain, Size: 932 bytes --]

--- udev-068/extras/cdsymlinks.c~	2005-09-06 18:46:38.000000000 +0100
+++ udev-068/extras/cdsymlinks.c	2005-09-06 18:47:22.000000000 +0100
@@ -12,11 +12,12 @@
  * (this last one is "just in case")
  *
  * (c) 2004, 2005 Darren Salt <linux@youmustbejoking.demon.co.uk>
+ *                and contributors
  *
  * Contributors:
  *  - J A Magallon <jamagallon@able.es> (bug fixes)
  *
- * Last modified: 2005-02-15
+ * Last modified: 2005-09-06
  */
 
 #define _GNU_SOURCE
@@ -301,8 +302,8 @@
           }
           else if (!strncmp (p.we_wordv[0], "NUMBERED_LINKS=", 15))
             numbered_links = atoi (p.we_wordv[0] + 15);
-          else if (!strncmp (p.we_wordv[0], "LINK_ZERO=", 15))
-            link_zero = atoi (p.we_wordv[0] + 15);
+          else if (!strncmp (p.we_wordv[0], "LINK_ZERO=", 10))
+            link_zero = atoi (p.we_wordv[0] + 10);
           break;
 	}
 	/* fall through */

  reply	other threads:[~2005-09-06 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 10:21 [PATCH] fix LINK_ZERO parsing in cdsymlinks.c Olivier Blin
2005-09-06 17:45 ` Darren Salt [this message]
2005-09-07 20:44 ` Greg KH
2005-09-08  1:41 ` Darren Salt
2005-09-08  2:55 ` 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=4DA640EBAF%linux@youmustbejoking.demon.co.uk \
    --to=linux@youmustbejoking.demon.co.uk \
    --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 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).