NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/50009: strptime small enhancement



The following reply was made to PR lib/50009; it has been noted by GNATS.

From: David CARLIER <devnexen%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/50009: strptime small enhancement
Date: Mon, 29 Jun 2015 05:22:45 +0100

 --001a113ab4e82a084b0519a07253
 Content-Type: text/plain; charset=UTF-8
 
 Ah, good catch ...
 
 ...
 
 #ifndef ISLEAPYEAR
 #define ISLEAPYEAR(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))
 #endif
 
 ...
 
 
 On 29 June 2015 at 05:00, David Holland <dholland-bugs%netbsd.org@localhost> wrote:
 
 > The following reply was made to PR lib/50009; it has been noted by GNATS.
 >
 > From: David Holland <dholland-bugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: lib/50009: strptime small enhancement
 > Date: Mon, 29 Jun 2015 03:58:23 +0000
 >
 >  On Sun, Jun 28, 2015 at 07:50:00PM +0000, devnexen%gmail.com@localhost wrote:
 >   > +#ifndef ISLEAPYEAR
 >   > +#define ISLEAPYEAR(y) ((y % 400) == 0 && (y % 4) == 0 && (y % 100) !=
 > 0)
 >   > +#endif
 >
 >  ...this is wrong...
 >
 >  --
 >  David A. Holland
 >  dholland%netbsd.org@localhost
 >
 >
 
 --001a113ab4e82a084b0519a07253
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Ah, good catch ...<div><br></div><div>...</div><div><pre s=
 tyle=3D"color:rgb(0,0,0)">#ifndef ISLEAPYEAR
 #define ISLEAPYEAR(y) (((y) % 4) =3D=3D 0 &amp;&amp; (((y) % 100) !=3D 0 ||=
  ((y) % 400) =3D=3D 0))
 #endif</pre><pre style=3D"color:rgb(0,0,0)">...</pre></div></div><div class=
 =3D"gmail_extra"><br><div class=3D"gmail_quote">On 29 June 2015 at 05:00, D=
 avid Holland <span dir=3D"ltr">&lt;<a href=3D"mailto:dholland-bugs@netbsd.o=
 rg" target=3D"_blank">dholland-bugs%netbsd.org@localhost</a>&gt;</span> wrote:<br><bl=
 ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
 ccc solid;padding-left:1ex">The following reply was made to PR lib/50009; i=
 t has been noted by GNATS.<br>
 <br>
 From: David Holland &lt;<a href=3D"mailto:dholland-bugs%netbsd.org@localhost";>dhollan=
 d-bugs%netbsd.org@localhost</a>&gt;<br>
 To: gnats-bugs%NetBSD.org@localhost<br>
 Cc:<br>
 Subject: Re: lib/50009: strptime small enhancement<br>
 Date: Mon, 29 Jun 2015 03:58:23 +0000<br>
 <br>
 =C2=A0On Sun, Jun 28, 2015 at 07:50:00PM +0000, <a href=3D"mailto:devnexen@=
 gmail.com">devnexen%gmail.com@localhost</a> wrote:<br>
 =C2=A0 &gt; +#ifndef ISLEAPYEAR<br>
 =C2=A0 &gt; +#define ISLEAPYEAR(y) ((y % 400) =3D=3D 0 &amp;&amp; (y % 4) =
 =3D=3D 0 &amp;&amp; (y % 100) !=3D 0)<br>
 =C2=A0 &gt; +#endif<br>
 <br>
 =C2=A0...this is wrong...<br>
 <br>
 =C2=A0--<br>
 =C2=A0David A. Holland<br>
 =C2=A0<a href=3D"mailto:dholland%netbsd.org@localhost";>dholland%netbsd.org@localhost</a><br>
 <br>
 </blockquote></div><br></div>
 
 --001a113ab4e82a084b0519a07253--
 



Home | Main Index | Thread Index | Old Index