[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] FileAttributesPlugin 1.3.0 (#268)

Alistair Grant akgrant0710 at gmail.com
Sat Jun 16 14:56:55 UTC 2018


Hi Stu,

On Sat, 16 Jun 2018 at 16:43, Stuart Cassoff <aa72 at bell.net> wrote:
>
>
> + * WARNING: On 32 bit platforms time_t is only 32 bits long.
>
> FWIW, not everywhere.
> I didn't look over your patch in detail so I don't know if this makes a difference.
>
>
> $ uname -msr && cat ct.c && cc ct.c && ./a.out
> OpenBSD 6.3 i386
> #include <stdio.h>
> int main (int argc, char *argv[]) {
>         printf("%lu\n", sizeof (void *));
>         printf("%lu\n", sizeof (time_t));
>         return 0;
> }
> 4
> 8
>
>
> $  uname -msr && cc ct.c && ./a.out
> OpenBSD 6.3 amd64
> 8
> 8
>
>
> Stu

Thanks for letting me know, I'll update the comment to say "On some 32
bit platforms...".

Cheers,
Alistair


More information about the Vm-dev mailing list