From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darren Salt Date: Tue, 06 Sep 2005 17:45:42 +0000 Subject: Re: [PATCH] fix LINK_ZERO parsing in cdsymlinks.c Message-Id: <4DA640EBAF%linux@youmustbejoking.demon.co.uk> MIME-Version: 1 Content-Type: multipart/mixed; boundary="1138604109--1383563700--215795984" List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org This message is in MIME format which your mailer apparently does not support. You either require a newer version of your software which supports MIME, or a separate MIME decoding utility. Alternatively, ask the sender of this message to resend it in a different format. --1138604109--1383563700--215795984 Content-Type: text/plain; charset=us-ascii 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. --1138604109--1383563700--215795984 Content-Type: text/plain; charset=iso-8859-1; name="udev-068-cdsymlinks.c.patch" Content-Disposition: attachment; filename="udev-068-cdsymlinks.c.patch" Content-Transfer-Encoding: quoted-printable --- 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 + * and contributors * * Contributors: * - J A Magallon (bug fixes) * - * Last modified: 2005-02-15 + * Last modified: 2005-09-06 */ =20 #define _GNU_SOURCE @@ -301,8 +302,8 @@ } else if (!strncmp (p.we_wordv[0], "NUMBERED_LINKS=3D", 15)) numbered_links =3D atoi (p.we_wordv[0] + 15); - else if (!strncmp (p.we_wordv[0], "LINK_ZERO=3D", 15)) - link_zero =3D atoi (p.we_wordv[0] + 15); + else if (!strncmp (p.we_wordv[0], "LINK_ZERO=3D", 10)) + link_zero =3D atoi (p.we_wordv[0] + 10); break; } /* fall through */ --1138604109--1383563700--215795984-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel