"missing" subdirectory.
For "cvs diff -c" or "cvs diff -u" diffs, there's a Python script "cvsdiff-fix.py" in the "tools" directory
in the Wireshark source tree; it will fix up those lines in "cvs diff" output. It reads its standard input
by default, or can be given a file name on the command line, and writes to the standard output, so if
you're typing at a command interpreter that does piping, you could do something such as
python tools/cvsdiff.py patchfile | patch -p0 -
to use "patchfile". (You might be able to leave the "python" out of the command line on many
UN*Xes.)
"svn diff" doesn't produce a "diff -c" or "diff -u" line, so its output doesn't have that problem. Regu-
lar "diff -c" or "diff -u" output also shouldn't have that problem.
Work with the Wireshark sources
38
Commentaires sur ces manuels