unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* pbm trying to patch 21.1 into 21.2
@ 2002-09-03 19:32 David Combs
  2002-09-03 21:52 ` Kai Großjohann
  0 siblings, 1 reply; 4+ messages in thread
From: David Combs @ 2002-09-03 19:32 UTC (permalink / raw)


pwd
/myexternals/david3/from_netcom-dir1/emacs-stuff/emacs-21.1


sh /david3/from_netcom-dir1/emacs-stuff/emacs-21.1-21.2.diff
  Looks like a new-style context diff.
File to patch: 
^C

--- THAT (above) *IS* the problem:
the "Looks like ...",
then it's asking me "file to patch" -- just what
am I supposed to type in for that?



And yes, within that .diff-script, the diff that's
being called is GNU diff:

diff - GNU diffutils version 2.7


And, I couldn't find the string "File to patch"
in the .diff-script.


Just to see the options, here's a diff-call from
the script:

$DIFF -2rcpP --exclude=info/* --exclude=*.elc --exclude=*.aux --exclude=*.cps --exclude=*.fns --exclude=*.kys --exclude=*.vrs emacs-21.1/etc/SERVICE emacs-21.2/etc/SERVICE


With these options from the diff man-page:


       -lines Show  lines  (an  integer)  lines of context.  This
              option does not specify an output format by itself;
              it  has  no effect unless it is combined with -c or
              -u.  This option is obsolete.   For  proper  opera-
              tion,  patch  typically needs at least two lines of
              context.

       -r     When comparing directories, recursively compare any
              subdirectories found.

       -c     Use the context output format.

       -p     Show which C function each change is in.

       -P     When  comparing directories, if a file appears only
              in the second directory of the  two,  treat  it  as
              present but empty in the other.



Any ideas?

Thanks

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-04 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 19:32 pbm trying to patch 21.1 into 21.2 David Combs
2002-09-03 21:52 ` Kai Großjohann
2002-09-04  5:44   ` David Combs
2002-09-04 12:10     ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).