Re: Why from there?

Riley Williams (
Thu, 14 May 1998 19:29:55 +0100 (BST)

Hi Brian.

>> There IS a simple solution, although it's a little more work for the
>> people creating the upgrade patches, which is to put the correct paths
>> in them. I don't have one to hand, so the following is a fabricated
>> part-patch to upgrade from kernel 9.8.7 to 9.8.8 that should do it:

>> Q> --- linux-9.8.7/drivers/char/serial.c Thu May 14 00:09:12 1998
>> Q> +++ linux-9.8.8/drivers/char/serial.c Thu May 14 00:09:19 1998

>> Note that the FIRST element of the path shown DIFFERS between the two
>> paths, and my understanding of how patch works indicates that the
>> above would result in it taking the contents of the existing file as
>> labelled by the --- line and copying it to that named by the +++ line
>> with any patches indicated being made.

> My experience is that it takes the file named by the +++ line and
> patches it. The file specified in the --- line does not need to
> exist at the time of patching.

Having played with patch this morning, I can confirm your comments,
but it also occurred to me that two different problems were being
treated as one here - see my comments of about five minutes ago for a
clarification thereof...

Best wishes from Riley.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to