Re: [PATCH 0000] pull: cal the branch four

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

 



On 26 May 2013 19:55, Sami Kerola <kerolasa@xxxxxx> wrote:
> On 26 May 2013 19:23, Bernhard Voelker <mail@xxxxxxxxxxxxxxxxxxx> wrote:
>> On 05/26/2013 11:14 AM, Sami Kerola wrote:
>>> The cal branch I have in my git has got fixes to issues reviewed earlier,
>>> and I hope all works.  Based on that I decided to get rid of upper cal
>>> year limit, 9999, and replace it with unsigned long.  I know the change
>>> does not make much practical sense, the point of the change is that where
>>> there is no need to have artificial limits to a random magic number they
>>> should not exist.
>>
>> unsigned years ... hmm, not that this would work today, but what about BC
>> years? E.g. on what weekday did Julius Caesar die (March 15th, 44 BC, [1])?
>> Maybe a future improvement (... having to make years signed again)?
>>
>> [1] http://en.wikipedia.org/wiki/Julius_Caesar
>
> You are right. I'll make the year to be signed, and make error to be
> displayed, for now, if negative year is defined.

The year is now signed integer.

https://github.com/kerolasa/lelux-utiliteetit/commit/e44fe4712140774b677de466affc31e0581ee335

--
   Sami Kerola
   http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux