Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 10:39:29 +0700
From:      Eugene Grosbein <eugen@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        John Baldwin <jhb@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r340617 - head/sys/netgraph
Message-ID:  <f4d26b88-c6d8-c385-0a3c-81b915d02e07@freebsd.org>
In-Reply-To: <CANCZdfq3nZAHHnCeCPGB0ryXMcstL86hZz-brvtg2K7T-2_pPQ@mail.gmail.com>
References:  <201811190727.wAJ7RpDN052165@repo.freebsd.org> <f3ef3476-4086-2477-9397-e0dc8f902e4f@FreeBSD.org> <5e7d2e8e-2a06-e687-f4c1-5c30ee4c50be@freebsd.org> <CANCZdfrRBJivhYAFX3LAYaEi_p01CrAtbTvd=Rvz%2B5PAPUDJ0Q@mail.gmail.com> <7ee81b60-1984-e3cf-32ad-3a06fcceba60@freebsd.org> <CANCZdfq3nZAHHnCeCPGB0ryXMcstL86hZz-brvtg2K7T-2_pPQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
27.11.2018 10:22, Warner Losh пишет:
> 
> 
> On Mon, Nov 26, 2018 at 8:18 PM Eugene Grosbein <eugen@freebsd.org <mailto:eugen@freebsd.org>> wrote:
> 
>     27.11.2018 7:15, Warner Losh wrote:
> 
>     > time_t is 64-bits in FreeBSD for all architectures regardless of __LP64__, except it's 32-bits on i386.
>     >
>     > Warner
> 
>     sys/powerpc/include/_types.h defines time_t being 32 or 64 bit depending on __LP64__
>     just like sys/x86/include/_types.h does.
> 
>     Does 32-bit PowerPC mode actually exist/is supported?
> 
> 
> typedef __int64_t       __time_t;               /* time()... */
> 
> is what I see, unconditionally. It used to be 32-bit years ago...

In fact, it is 32-bit in stable/11 :-)
It was changed 17 months ago, https://svnweb.freebsd.org/base?view=revision&revision=320347
and never merged, so 12.0-RELEASE will be the first release with 64-bit time_t for powerpc32.

> 32-bit powerpc is still a thing.

OK





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4d26b88-c6d8-c385-0a3c-81b915d02e07>