Re: [uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix,for 2.6.12 ]

From: Henrik Nordstrom
Date: Tue May 10 2005 - 08:40:14 EST


On Mon, 9 May 2005, Andrew Morton wrote:

diff -L include/asm-um/elf.h -puN include/asm-um/elf.h~uml-remove-elf-h /dev/null

hmm, that's exciting. How to tell diff and patch to remove a zero-length
file?

This has to be instructed by the patch.. If the new file is an empty file with timestamp of 1 Jan 1970 then it is supposed to be deleted.

The /dev/null trick only works well for adding files, not removing them.

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