delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/24/16:42:44

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
From: "Herb Martin" <HerbM AT LearnQuick DOT Com>
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: RE: stat file -- cygwin vs. Windows size?
Date: Fri, 24 Jun 2005 15:42:31 -0500
MIME-Version: 1.0
In-Reply-To: <6.2.1.2.0.20050624150718.03bda368@pop.prospeed.net>
X-Spam-Flag: NO
X-Spam-DCC: :
X-Spam-Pyzor: Reported 0 times.
Message-ID: <20ADAA3A400B@mail.learnquick.com>

Thanks folks -- the confirmation that I was on the right
path was a big help.

The suggestions to "do it right" were well intentioned 
but impractical since I didn't want to take over support
for TWO major software packages (or either one for that
matter.)

A small patch seems to work.  (Keep the bytes spooled
and send that number rather than whatever stat was 
showing.)

Since the bytes spooled to the file are what gets sent
to spamd that seems to be an accurate number.

I had a little trouble at first since it seemed the
file was cached (if it was "written" more than once
it really was only written to disk ONE TIME -- so 
zero'ing the counter in the wrong place was hosing
my first naive attempt.

--
Herb




--
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