X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=6XoHsPhp7mNnGCV3LWZg2w==:17  a=7KVOQRawTy6uhBdaoDoA:9 a=-FnZr9O2vNqlDtxxF5MA:7  a=ws32AN5tMm2_eVIW_3D81tH6mkYA:4 a=50e4U0PicR4A:10
From: r.chuang@comcast.net
To: cygwin@cygwin.com
Subject: VIM I/O error with Vista SP1 RC
Date: Sun, 03 Feb 2008 17:46:44 +0000
Message-Id: <020320081746.24966.47A5FE040009D77900006186220073583409020E9A080CD29D@comcast.net>
X-Mailer: AT&T Message Center Version 1 (Oct 30 2007)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

Recently I installed Vista SP1 RC  v.668 (Vista Vista Ultimate) with Cygwin DLL 1.5.25.

Now VIM seems to fail to write out files properly.  Here are the symptoms

1. If I delete the last characters in a file and write it out from inside VIM the last character is converted into a '\n' (newline character)

2. If I delete the last line in a file and write it out that line remains in the file

3. If I delete content from the middle of the file a equal amount of the end of the file is duplicated at the end of the file so the file size remains the same.

Seems like someone (most likely Vista) is writing out the same buffer size and not writing out a smaller buffer.  The same version of VIM worked fine before the Vista RC1 update.

Has anyone seen this problem?   or should I download  the source to VIM and try to debug it.

Richard

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

