BUILD_TIME in xserver

Michel Dänzer michel at tungstengraphics.com
Mon Jun 11 08:24:56 PDT 2007


On Mon, 2007-06-11 at 10:26 -0400, Clark Rawlins wrote:
> On Mon, 2007-06-11 at 13:00 +0200, Michel Dänzer wrote:
> > This isn't correct; 1xxxxxx / 10000 = 1xx % 10000 = 1xx.
> True,  It sould be (1xxxxxx / 100000) % 100.
> 
> > 
> > I've pushed a simpler fix which just uses %k instead of %H with date.
> > Thanks for the detailed analysis of the problem though.
> 
> The problem with using %k is that during the hour after midnight you
> will have the same problem.  The hour will be zero and the number will 
> be interpreted as an octal number again.  There may be another simple
> way to solve it but %k is still wrong for times in the hour after
> midnight.

D'oh, true. Fixed, thanks again.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list