[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8890) Bug fix patches unbreaking the build on x32 systems



Howard Chu dixit:

>You might have correctly identified a Y2038 issue. You certainly have not
>written a correct fix for it.

Please drop this condescending attitude.

I may or may not have discovered a Y2038 issue, but I do know
for sure I=E2=80=99ve correctly fixed a problem on all architectures
in which a time_t does not fit into a long.

Consider this:

#ifdef TEST1
typedef long foo_t;
#else
typedef long long foo_t;
#endif
foo_t bla =3D 1L;
printf("%ld, %ld\n", bla, 2L);

This is _supposed_ to display =E2=80=9C1, 2=E2=80=9D but will display =E2=
=80=9C1, 0=E2=80=9D
on little endian platforms (big endian being worse off).

I know my way *very* well around the time_t issue because
I=E2=80=99ve been having them on MirBSD/i386 years before x32 even
existed, and am experienced in how to fix them.

bye,
//mirabilos
--=20
16:47=E2=8E=9C=C2=ABmika:#grml=C2=BB .oO(mira ist einfach gut....)      23:=
22=E2=8E=9C=C2=ABmikap:#grml=C2=BB
mirabilos: und dein bootloader ist geil :)    23:29=E2=8E=9C=C2=ABmikap:#gr=
ml=C2=BB und ich
finds saugeil dass ich ein bsd zum booten mit grml hab, das muss ich dann
gleich mal auf usb-stick installieren=09-- Michael Prokop =C3=BCber MirOS b=
sd4grml