Skip to contentSkip to conversation

Bug in udev-064... and a question

PATCH J.A. Magallon 1 participant 1 message Jul 29, 2005

lore
Share & tools
lore
#0 lore raw

Hi all...

Same old kinda bug ;)

cdsymlinks.c renamed from cdsymlinks.c.orig +2 -2
@@ -301,8 +301,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 */

Now the question...
Why does cdsymlinks do not spit links that already exist ? This makes impossible to test if you have your links created. I think that cdsymlinks should emit all possible links, and let the soft after it decide if it forces the link or skips it...

Anyways, happy summer holydays. Mine begin tomorrow, so I'll be off the list for a month or so.
Goin to unsubsribe, to skip bounces....

by

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.12-jam12 (gcc 4.0.1 (4.0.1-0.2mdk for Mandriva Linux release 2006.0))