Re: Re: SA-Exim timeout -> use SA 2.1 cvs, not 2.1
Marc MERLIN <[email protected]>
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 22, 2002 at 12:35:44PM -0400, Derrick 'dman' Hudson wrote:
> On Tue, Oct 22, 2002 at 02:23:10AM -0700, Marc MERLIN wrote:
>
> | BTW, if a real C programmer can answer this for me:
> | /* Ok, tell me what's the better way of getting the size of the file an fd
> | * points to */
>
> You should stat it.
>
> Excerpts from stat(2) :
Duh!
Of course (I new about stat and lstat and didn't bother to check if
there as a stat for already opened file descriptors)
Thanks
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger [email protected] for PGP key
signature.asc
(application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iQCVAwUBPbV+Tn4xUKZ2O+kBAQEECgQA3No+83oQm7oWVb+GNVSFR+opE4WDYJjX yI1+fj/qc0MACzaT4qlm+ehIAoe2iNAGn+Y+vN3f1sGgqf8MFAWUYhcw7g5S7AmV 61OwUCgtjRw/JC60rcAdy//IytlDunNfWSa85qej0EJEo+GeIHt7jLyYxSKPx73J TLuhjQ6hqDg= =oclW -----END PGP SIGNATURE-----