Non-urgent issue with fs/isofs/util.c

Ian McKellar (imckellar@harvestroad.com.au)
Fri, 18 Sep 1998 15:14:57 +0800


--B4IIlcmfBL/1gGOG
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi,

The iso_date function in fs/isofs/util.c doesn't correctly handle leap year=
s.

Well, it doesn't handle the year 2100 - which according to the code is a le=
ap
year, but according to the commonly accepted rules is not.

I don't think we need to be to concerned right now, but changing:
if (((year+2) % 4) =3D=3D 0 && month > 2)
to:
if (((year+2) % 4) =3D=3D 0 && month > 2 && year !=3D 130)
should fix it.

Ian

--=20
Ian McKellar imckellar@harvestroad.com.au
Web Author / Programmer Phone: +61 8 9389 6200
Harvest Road Communications Fax: +61 8 9389 6201
PGPkey: finger ian@harvestroad.com.au ICQ: 5628269

Tell me do you really know your brother man
Cause a heart speaks louder than a colour can
And why would you even shake a man's hand
If you're not going to help him stand
-- Ben Harper (Jah Work)

--B4IIlcmfBL/1gGOG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: ehdOkyGwUAU1q2lkcQbUEsaJKDh2Xq0d

iQCVAwUBNgGX8uc73mdZIn3VAQF4UgP/Q8T5EXZytucnsal9Ug4N4NZEPmN9aLXl
WuZhUI34HGAqXaxhCodoC9+4sq3RFAOXDUf5dzkpprjv63Hl75QmUVgL8HWSEbz9
PESUaQ2nkFEi88Xpd5lrycWjjataEYNPYy88/VZljT2LINyRr/4WB00Q27P3oFNc
KmqJB/yZ/+s=
=KSUe
-----END PGP SIGNATURE-----

--B4IIlcmfBL/1gGOG--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/