udevid segfaulting

Bruce Dubbs bruce.dubbs at gmail.com
Sat Oct 27 22:11:39 PDT 2007


Bruce Dubbs wrote:
> Bryan Kadzban wrote:
> 
>> where Kay is saying usb_id needs to be fixed, and this udev git commit:
>>
>> http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=963033472f8d2aab0bf77147b916de8f3b0b5450
> 
> I tried to patch udev116 with this and it didn't work.  I did a
> cut/paste of the patch to a file, but only the first segment applied.
> The other three rejected.
> 
> Is there something different about this patch format?  I can generate
> the patch without too much problem, but I wonder why the cut/paste
> doesn't work.

Never mind.  In the git generated file are constructs like:

@@ -224,8 +222,6 @@ static int usb_id(const char *devpath)

It should just be:

@@ -224,8 +222,6 @@

The annotation with the function name on the line seems to confuse patch.

  -- Bruce



More information about the lfs-dev mailing list