OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: max file size (again)...

From: Wietse Venema (wietseporcupine.org)
Date: Tue Sep 02 2003 - 07:05:24 CDT


Matthias Andree:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> wietseporcupine.org (Wietse Venema) writes:
>
> > Here's something that appears to work better:
>
> I'm afraid that it's broken here:
>
> > printf("%lld\n", MAXINT(off_t));
>
> this call assumes that off_t is a long long, but that's not true.

This is a test program; I would not printf the result in Postfix.

Can we focus on the question, which is does the macro work?

[results for SPARC/64 and Intel/32]

Thanks. No surprises on common platforms; now on to
the UNIX-on-mainframe platforms.

        Wietse