Re: [fpc-devel] Mem-leak, where?

2007-09-25 Thread Joost van der Sluis
Op woensdag 26-09-2007 om 02:29 uur [tijdzone +0400], schreef Sergei Gorelkin: > Joost van der Sluis wrote: > > > > program testbug9751; > > > > {$mode objfpc}{$H+} > > > > uses > > Classes, SysUtils, mysql41dyn; > > > > var hmysql : PMYSQL; > > > > begin > > // InitialiseMysql; <-- rem

Re: [fpc-devel] Mem-leak, where?

2007-09-25 Thread Sergei Gorelkin
Joost van der Sluis wrote: program testbug9751; {$mode objfpc}{$H+} uses Classes, SysUtils, mysql41dyn; var hmysql : PMYSQL; begin // InitialiseMysql; <-- remove the comment and the leakage is gone repeat InitialiseMysql; hmysql := nil; hmysql := mysql_init(hmysql); // Comment

Re: [fpc-devel] Re: FPC 2.2 HTML docs issues

2007-09-25 Thread Karl-Michael Schindler
Hi, I had another go testing different versions of tex4ht. All of them except one (the one I used originally and fairly old one) produced wrong links. At least the sequence of make (ps, pdf, html ,...) can be excluded as source of the problem. Maybe the logs and protocols give a hint to w

[fpc-devel] Mem-leak, where?

2007-09-25 Thread Joost van der Sluis
Hi all, About bug 9751. I don't understand where the leak comes from. Take this code: program testbug9751; {$mode objfpc}{$H+} uses Classes, SysUtils, mysql41dyn; var hmysql : PMYSQL; begin // InitialiseMysql; <-- remove the comment and the leakage is gone repeat InitialiseMysql;

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread Adriaan van Os
ik wrote: So the source file does mention that it is LGPL. I fully translated the header as-is. Then my comment is no longer valid. Regards, Adriaan van Os ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread Michael Van Canneyt
On Tue, 25 Sep 2007, Adriaan van Os wrote: > > Michael Van Canneyt wrote: > > > > > > On Sat, 22 Sep 2007, ik wrote: > > > > > > > Hello, > > > > > > > > While trying to work with the library, I have noticed that the > > > > packages/extra/sndfile/sndfile.pp is old, and most of the API there is

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread ik
On 9/25/07, Adriaan van Os <[EMAIL PROTECTED]> wrote: > > Michael Van Canneyt wrote: > >> > >> On Sat, 22 Sep 2007, ik wrote: > >> > >>> Hello, > >>> > >>> While trying to work with the library, I have noticed that the > >>> packages/extra/sndfile/sndfile.pp is old, and most of the API there is > >

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread Adriaan van Os
ik wrote: Yes, some of your code is much better then mine :( Making it more general to be used. However you are missing pointers for the records (for example), and less Pascal way of coding style, such as adding T before typed declarations as an example. I question if that is "Pascal way of cod

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread Adriaan van Os
Michael Van Canneyt wrote: On Sat, 22 Sep 2007, ik wrote: Hello, While trying to work with the library, I have noticed that the packages/extra/sndfile/sndfile.pp is old, and most of the API there is obsolete and no longer exists on the library. So I have created (from scratch) a new translat

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread ik
Hi Sorry for the late response. First of all thank you Michael. On 9/25/07, Adriaan van Os <[EMAIL PROTECTED]> wrote: > Michael Van Canneyt wrote: > > > > On Sat, 22 Sep 2007, ik wrote: > > > >> Hello, > >> > >> While trying to work with the library, I have noticed that the > >> packages/extra/sn

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread Adriaan van Os
Michael Van Canneyt wrote: On Sat, 22 Sep 2007, ik wrote: Hello, While trying to work with the library, I have noticed that the packages/extra/sndfile/sndfile.pp is old, and most of the API there is obsolete and no longer exists on the library. So I have created (from scratch) a new translat