<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<HEAD><!-- Template generated by Exclaimer Mail Disclaimers on 10:50:08 Friday, 9 November 2012 -->
<STYLE type=text/css>P.58b6aaff-49cf-4951-923f-37c7fb655c87 {
        MARGIN: 0cm 0cm 0pt
}
LI.58b6aaff-49cf-4951-923f-37c7fb655c87 {
        MARGIN: 0cm 0cm 0pt
}
DIV.58b6aaff-49cf-4951-923f-37c7fb655c87 {
        MARGIN: 0cm 0cm 0pt
}
TABLE.58b6aaff-49cf-4951-923f-37c7fb655c87Table {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</STYLE>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Generator" content="Microsoft Word 14 (filtered medium)" />
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</HEAD>

<BODY lang="EN-GB" link="blue" vlink="purple">
<P class=58b6aaff-49cf-4951-923f-37c7fb655c87>
<div class="WordSection1">
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>Hello Arnaud,<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D><o:p> </o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>OK rev. 3775 adds support for date %s format checking<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>+ its usage is no longer disabled for Solaris, explicitly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D><o:p> </o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>vasek<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D><o:p> </o:p></span></p>
<p class="MsoNormal"><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
</div></div></div></P>
<P class=58b6aaff-49cf-4951-923f-37c7fb655c87> </P>
<P class=58b6aaff-49cf-4951-923f-37c7fb655c87>
<HR id=HR1 />
Eaton Elektrotechnika s.r.o. ~ S�dlo spolecnosti, jak je zaps�no v rejstr�ku: Kom�rovsk� 2406, Praha 9 - Horn� Pocernice, 193 00, Cesk� Republika ~ Jm�no, m�sto, kde byla spolecnost zaregistrov�na: Praha ~ Identifikacn� c�slo (ICO): 498 11 894 
<P class=58b6aaff-49cf-4951-923f-37c7fb655c87>
<HR id=HR1 />

<P></P>
<P class=58b6aaff-49cf-4951-923f-37c7fb655c87> </P>
<P class=58b6aaff-49cf-4951-923f-37c7fb655c87><div class="WordSection1"><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US" style=font-size:10.0pt;font-family:"Tahoma","sans-serif">From:</span></b><span lang="EN-US" style=font-size:10.0pt;font-family:"Tahoma","sans-serif"> Arnaud Quette [mailto:aquette.dev@gmail.com]
<br />
<b>Sent:</b> Friday, November 09, 2012 4:10 PM<br />
<b>To:</b> Krpec, Vaclav<br />
<b>Cc:</b> nut-upsdev@lists.alioth.debian.org<br />
<b>Subject:</b> Re: nut_clock_* UT review<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2012/11/9 <<a href="mailto:VaclavKrpec@eaton.com" target="_blank">VaclavKrpec@eaton.com</a>><o:p></o:p></p>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div>
<p class="MsoNormal" style=mso-margin-top-alt:auto;margin-bottom:12.0pt><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>OK, so I’ll modify it so that it only uses Perl if date bin. desn’t</span><o:p></o:p></p>
<p class="MsoNormal" style=mso-margin-top-alt:auto;margin-bottom:12.0pt><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>support the %s format string.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<div>
<div>
<p class="MsoNormal" style=mso-margin-top-alt:auto;margin-bottom:12.0pt><br />
that would indeed be the most suitable approach.<br />
do you need some help for the configure test?<o:p></o:p></p>
<p class="MsoNormal" style=mso-margin-top-alt:auto;mso-margin-bottom-alt:auto><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style=mso-margin-top-alt:auto;mso-margin-bottom-alt:auto><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>Couldn’t I just do something like this?</span><o:p></o:p></p>
<p class="MsoNormal" style=mso-margin-top-alt:auto;mso-margin-bottom-alt:auto><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D> </span><o:p></o:p></p>
<p class="MsoNormal" style=mso-margin-top-alt:auto;mso-margin-bottom-alt:auto><span style=font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D>date +%s | grep -q '^[0-9]*$' && date_s_works=”yes”</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><br />
a patch is attached.<br />
you can then use "#ifdef HAVE_DATE_S..."<br />
<br />
also note that I'll have to fix a few more things on the Solaris, since the PATH change generated some issues:<br />
<a href="http://buildbot.networkupstools.org/public/nut/builders/Solaris-sparc/builds/258/steps/configure/logs/stdio">http://buildbot.networkupstools.org/public/nut/builders/Solaris-sparc/builds/258/steps/configure/logs/stdio</a><br />
<br />
enjoy your week-end,<br />
Arnaud<br />
-- <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style=margin-bottom:12.0pt>Linux / Unix / Opensource Engineering Expert - Eaton -
<a href="http://opensource.eaton.com" target="_blank">http://opensource.eaton.com</a><br />
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org" target="_blank">
http://www.networkupstools.org</a><br />
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br />
Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><o:p></o:p></p>
</div>
</div>
</P></P></P></BODY>
</HTML>