I tested this new function but,<br><br>- the declaration of "int i" should be at the beginning of function in C strict<br>- there are superfluous tabs such as :<br>=========<br> section1<br> {<br> key value<br>
}<br>=========<br>instead :<br>=========<br>
section1<br>
{<br>
key value<br>
}<br>
=========<br><br>So the code<br>==================<br>#define U_CONFIG_INDENT(fp, l) \<br> do { int i; for(i = 0; i < l; ++i) fprintf(fp, " "); } while (0);<br>==================<br>can be replaced by<br>
==================<br>
int i;<br>#define U_CONFIG_INDENT(fp, l) \<br>
for(i = 0; i < l; ++i) fputs(" ",fp);<br>
==================<br>
<br><br>The next version will be the good :)<br><br><div class="gmail_quote">2009/12/21 thomas fossati <span dir="ltr"><<a href="mailto:tho@koanlogic.com">tho@koanlogic.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><div><div class="im"><div>On Dec 21, 2009, at 3:29 PM, Mickael Auger wrote:</div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
ok, I've fixed u_config_print_to_fp() to insert properly aligned braces where needed. Thanks for the suggestion, do you want to try it out ?</blockquote><div><br>Yes if you have a path :)<br></div></div></blockquote>
<div><br></div></div><div>libu alone:</div><div><a href="http://koanlogic.com/download/libu/libu-1.4.2rc0.tar.gz" target="_blank">http://koanlogic.com/download/libu/libu-1.4.2rc0.tar.gz</a></div><div><br></div><div>bundled with klone:</div>
<div><a href="http://koanlogic.com/download/klone/" target="_blank">http://koanlogic.com/download/klone/</a>klone-2.2.2rc0.tar.gz</div><div class="im"><div><br></div><blockquote type="cite"><div class="gmail_quote"><div>
The page is created with two examples to load and read :<br>
<a href="http://wiki.koanlogic.com/doku.php?id=libu_config" target="_blank">http://wiki.koanlogic.com/doku.php?id=libu_config</a><br></div></div></blockquote></div></div><br><div>This is the sort of things that warms my heart :) thank you very much !</div>
<div><br></div><font color="#888888"><div>t.</div></font></div><br>_______________________________________________<br>
Klone-users mailing list<br>
<a href="mailto:Klone-users@koanlogic.com">Klone-users@koanlogic.com</a><br>
<a href="http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users" target="_blank">http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Mickaël AUGER<br><br>