Hi Przemek,
Date: Wed, 21 Oct 2009 13:44:54 +0200 From: Przemys?aw Czerpak
<dru...@acn.waw.pl> Subject: Re: [Harbour] HB_ReadIni() Problem To:
"Harbour Project Main Developer List." <harbour@harbour-project.org>
Message-ID: <20091021114454.ga25...@linux-8af1.home.aster.pl>
Content-Type: text/plain; charset=utf-8 On Wed, 21 Oct 2009, Mario H.
Sabado wrote: Hi,
> I have encountered the value being returned by HB_ReadIni() was
> being truncated by one char at the last. I have the following
> function and sample ini file.
It may happen if EOL is missing in the last line of .ini file.
I'll add protection against such situations in a while.
Thanks for the information.
best regards,
Przemek
Thank you so much for the fix. It now works as expected but when the
last line of my ini file doesn't contain a carriage return, I still
encounter the problem.
Best regards,
Mario
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour