<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>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
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:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Arial","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</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=RU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi, Marcin!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Unfortunately I had never dealed with Solaris but I can help you
to replace aspirntf to snpintf:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>perl -pi -e 's{asprintf}{snprintf}' path/to/files/*<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In other words: perl -pi -e 's{string you want to replace}{string
you want to be instead}' path/to/files/*<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <b>On Behalf Of </b>Marcin
Praczko<br>
<b>Sent:</b> Monday, March 31, 2008 6:41 PM<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> [Nagios-users] NDOUtils --- not compiled on Solaris<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<table class=TableNormal border=0 cellspacing=0 cellpadding=0 width=649
style='width:486.75pt'>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><img width=649 height=36 id="_x0000_i1055"
src="cid:image001.gif@01C89364.EF10AFC0" alt="2Fluid Creative Ltd"><o:p></o:p></p>
</td>
</tr>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'><br>
Hi all,<o:p></o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'>I would like to ask about compiling
ndoutils under Solaris.<o:p></o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'>I tried do that but I stacked on compiling
modules ndo2db – there is a lot functions ‘asprintf’ and seems not be
available on Solaris. Could you tell me how can I arrond this problem? <o:p></o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'>Is there any way how to fast replace
asprintf to snprintf??<o:p></o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'>Is there anybody who install ndoutils on
Solaris ? <o:p></o:p></span></p>
<p class=MsoNormal style='line-height:10.5pt'><span style='font-size:9.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p style='mso-margin-top-alt:11.25pt;margin-right:0cm;margin-bottom:11.25pt;
margin-left:0cm;line-height:10.5pt'><span style='font-size:9.0pt;font-family:
"Arial","sans-serif"'>Marcin Praczko<br>
<span style='color:gray'>System Administrator <o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><img width=649 height=187 id="_x0000_i1056"
src="cid:image002.gif@01C89364.EF10AFC0" alt="2Fluid Creative Ltd"><o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt'>No virus found in this outgoing message.<br>
Checked by AVG.<br>
Version: 7.5.519 / Virus Database: 269.22.1/1350 - Release Date: 30/03/2008
12:32</span><o:p></o:p></p>
</div>
</body>
</html>