mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Henrik Nordstrom <uml@hno.marasystems.com>
To: Andrew Morton <akpm@osdl.org>
Cc: blaisorblade@yahoo.it, jdike@addtoit.com,
	linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ]
Date: Tue, 10 May 2005 15:37:33 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0505101525360.16461@filer.marasystems.com> (raw)
In-Reply-To: <20050509183401.28082cbc.akpm@osdl.org>

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

  parent reply	other threads:[~2005-05-10 13:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 22:45 blaisorblade
2005-05-10  1:34 ` Andrew Morton
2005-05-10 10:16   ` Blaisorblade
2005-05-10 13:37   ` Henrik Nordstrom [this message]
2005-05-10 20:40     ` [uml-devel] " Adrian Bunk
2005-05-10 20:54       ` Jesper Juhl
2005-05-10 18:06   ` Andrea Arcangeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0505101525360.16461@filer.marasystems.com \
    --to=uml@hno.marasystems.com \
    --cc=akpm@osdl.org \
    --cc=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®