bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (minor) Configure should(?) check for 'patch'..


From: Richard Stallman
Subject: Re: (minor) Configure should(?) check for 'patch'..
Date: Fri, 5 Jul 2002 04:48:06 -0600 (MDT)

Does this fix it?

*** ediff-ptch.el.~1.17.~       Thu Mar 21 04:09:01 2002
--- ediff-ptch.el       Fri Jul  5 03:33:51 2002
***************
*** 85,96 ****
    :group 'ediff-ptch)
  
  (defun ediff-test-patch-utility ()
!   (cond ((zerop (call-process ediff-patch-program nil nil nil "-z." "-b"))
!        ;; GNU `patch' v. >= 2.2
!        'gnu)
!       ((zerop (call-process ediff-patch-program nil nil nil "-b"))
!        'posix)
!       (t 'traditional)))
  
  (defcustom ediff-backup-specs 
    (let ((type (ediff-test-patch-utility)))
--- 85,98 ----
    :group 'ediff-ptch)
  
  (defun ediff-test-patch-utility ()
!   (condition-case nil
!       (cond ((zerop (call-process ediff-patch-program nil nil nil "-z." "-b"))
!            ;; GNU `patch' v. >= 2.2
!            'gnu)
!           ((zerop (call-process ediff-patch-program nil nil nil "-b"))
!            'posix)
!           (t 'traditional))
!     (file-error nil)))
  
  (defcustom ediff-backup-specs 
    (let ((type (ediff-test-patch-utility)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]