stat file -- cygwin vs. Windows size?

Larry Hall lh-no-personal-replies-please@cygwin.com
Fri Jun 24 18:08:00 GMT 2005


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/



More information about the Cygwin mailing list