emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master fff0184: Fix RCS crashes in vc-test


From: Eli Zaretskii
Subject: [Emacs-diffs] master fff0184: Fix RCS crashes in vc-test
Date: Mon, 22 Jun 2015 16:07:36 +0000

branch: master
commit fff0184e38342deedafd2ab0db7b51c692f461c7
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix RCS crashes in vc-test
    
    * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
    ports of 'ci' on MS-Windows by always passing the -t- switch.
---
 lisp/vc/vc-rcs.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/vc/vc-rcs.el b/lisp/vc/vc-rcs.el
index 1e19908..71ffa55 100644
--- a/lisp/vc/vc-rcs.el
+++ b/lisp/vc/vc-rcs.el
@@ -243,7 +243,9 @@ to the RCS command."
             ;; if available, use the secure registering option
             (and (vc-rcs-release-p "5.6.4") "-i")
             "-u"
-            (and comment (concat "-t-" comment))
+             ;; Some old MS-Windows ports of RCS crash when "ci -i" is
+             ;; invoked without -t; indulge them.
+            (concat "-t-" (or comment ""))
             (vc-switches 'RCS 'register))
       ;; parse output to find master file name and workfile version
       (with-current-buffer "*vc*"



reply via email to

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