Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 20 Jan 2013 11:51:49 +0100
From: Hiltjo Posthuma <>
Subject: [PATCH] __tm_to_time: fix last month


I noticed there is possibly a typo in src/time/__tm_to_time.c

When calculating the day of year for december it uses 335 which should
be 334 I think.

Test case:

I attached a patch as attachment.

Kind regards,
Hiltjo Posthuma

Download attachment "0001-__tm_to_time-fix-last-month.patch" of type "application/octet-stream" (977 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.