Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050624134407.0635f708@pop.prospeed.net> Date: Fri, 24 Jun 2005 13:45:36 -0400 To: "Herb Martin" , From: Larry Hall Subject: Re: stat file -- cygwin vs. Windows size? In-Reply-To: <1FE7B1901E4A@mail.learnquick.com> References: <1FE7B1901E4A AT mail DOT learnquick DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:06 PM 6/24/2005, you wrote: >This buffer is being built for SpamAssassin which later >gives an error saying (to the effect) > >"Content-Length mismatch: Expected 818 bytes, got 798 bytes" > >My suspicion is that stat is counting cr-lf as two characters >but the input routines are treating these as one. > >If the file has about 20 lines, then that's 20 missing >characters??? Yes, this is right. And yes, this could be the cause of the situation you're noticing. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/