Ethereal-dev: [Ethereal-dev] What's the recommended way to use the patch tool?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Tue, 31 Aug 2004 14:14:01 +0200
Hi List!

As I'm working on the developer's guide, I wanted to write down how to use the command line patch tool, but found myself unsure about it.

I've tried the patch tool from TortoiseSVN before, but it failed with an error.


Given the file "new.diff" containing a unified diff, what is the right way to call the patch tool?

Is there a difference when the diff file contains one file "diff -u" or more files "diff -ur"?

At which position in the filesystem has the patch tool to be called?

Regards, ULFL