Re: Kernel diff problem

Hubert Mantel (mantel@suse.de)
Mon, 2 Aug 1999 18:29:25 +0200


Hi,

On Sun, Aug 01, yodaiken@chelm.cs.nmt.edu wrote:

> This is not a kernel code issue, but it has caused me some difficulties,
> not to mention embarassment, and I wonder if someone there can explain:
>
> $diff -u -r -N vanilla11 linux-new11 > junk &
> $ diff -u -r --new-file vanilla11 linux-new11 > junk2 &
>
> time passes and
> $ ls -l junk*
> -rw-rw-r-- 1 yodaiken yodaiken 64742 Aug 1 15:13 junk
> -rw-rw-r-- 1 yodaiken yodaiken 43794 Aug 1 15:10 junk2
>
> Two "diffs" only difference is "--new-file" and "-N" which should
> be identical

The output of diff contains your command for every file. So it's ok that
the two diffs differ.

"diff junk junk2 | less" and you will see.

> $ diff --version
> diff - GNU diffutils version 2.7
>
> Stock Rdhat 6.0
>
> The hyphen in the second directory name?
> Control-c'ing during a make?
> Microsoft moles ? Something stupid I did ?
>
> The kernel is 2.3.11 -- the vanilla one, not my version that I
> was getting a diff for.
> When I copied these directories to a second machine, I got similar
> results until I removed the vanilla11 directory and made a new
> one from a fresh tar file.
-o)
Hubert Mantel Goodbye, dots... /\\
_\_v

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/