Re: [PATCH] newlib: m68k-atari-elf, fixed naming bug in defines
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
Hi Mikael, On Nov 18 19:07, [email protected] wrote: > Fix to a reported problem in naming of defines. > > > /Mikael Hildenborg. > > > From 65b71bd50631da48343b97fecdade55e7c1122f4 Mon Sep 17 00:00:00 2001 > From: Mikael Hildenborg <[email protected]> > Date: Tue, 18 Nov 2025 18:40:48 +0100 > Subject: [PATCH] m68k-atari-elf: fixed naming bug in defines. > > --- > libgloss/m68k/atari/atari-gettod.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libgloss/m68k/atari/atari-gettod.c b/libgloss/m68k/atari/atari-gettod.c > index 75139ed8c..c8227ae5e 100644 > --- a/libgloss/m68k/atari/atari-gettod.c > +++ b/libgloss/m68k/atari/atari-gettod.c > @@ -14,8 +14,8 @@ > The code below uses that limitation to simplify the code. > */ > > -#define SEC_1900_TO_1980 315529200 > -#define SEC_1900_TO_MAX 0x7fffffff > +#define SEC_1970_TO_1980 315529200 > +#define SEC_1970_TO_MAX 0x7fffffff > #define SECONDS_IN_A_DAY (24 * 60 * 60) > #define SEC_JAN_AND_FEB ((31 + 29) * SECONDS_IN_A_DAY) // In a leap year > #define SECONDS_IN_A_YEAR (365 * SECONDS_IN_A_DAY) SEC_1900_TO_1980 is set to 2524521600 in git, so this hunk doesn't apply. Can you check and resend a new patch, please? Also, if you don't mind, please add a more helpful commit message. It doesn't even mention the affected macros... Thanks, Corinna