;;; vc-cvs.el --- non-resident support for CVS version-control
;; Copyright (C) 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
(if (re-search-forward
(concat "^\\([CMUP] \\)?"
(regexp-quote
- (substring file (length (expand-file-name
- "." default-directory))))
+ (substring file (1+ (length (expand-file-name
+ "." default-directory)))))
"\\( already contains the differences between \\)?")
nil t)
(cond