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.
This commit is contained in:
Eli Zaretskii 2015-06-22 19:06:23 +03:00
parent 14eba49418
commit fff0184e38

View file

@ -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*"