Commit fff0184e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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.
parent 14eba494
......@@ -243,7 +243,9 @@ to the RCS command."
;; if available, use the secure registering option
(and (vc-rcs-release-p "5.6.4") "-i")
(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*"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment