delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/24/13:46:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050624134407.0635f708@pop.prospeed.net>
Date: Fri, 24 Jun 2005 13:45:36 -0400
To: "Herb Martin" <HerbM AT LearnQuick DOT Com>, <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019