[fpc-pascal] TBufDataset broken in fixes_2_2

2008-11-15 Thread Funky Beast
FreeAndNil(Findexes[I]); It stops at the FreeAndNil line. Latest trunk 2.3.1 has no such problem. Should I file a bug report? Regards, Funky Beast ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

[fpc-pascal] Re: TBufDataset broken in fixes_2_2

2008-11-15 Thread Funky Beast
Jonas Maebe wrote: > > On 15 Nov 2008, at 16:56, Funky Beast wrote: > >> Should I file a bug report? > > Yes, please. > > > Jonas > ___ > fpc-pascal maillist - > [EMAIL PROTECTED] > http://lists.freepasca

[fpc-pascal] Re: TBufDataset broken in fixes_2_2

2008-11-16 Thread Funky Beast
Michael Müller wrote: > Hi! > > Am 15.11.2008 um 16:56 schrieb Funky Beast: > >> Hi, >> >> TBufDataset is broken in latest fixes_2_2. >> >> Can be reproduce with following code: >> >> var s: TSQLQuery; >> begin >> s := TSQLQ

[fpc-pascal] SQLDB/Firebird unable to open table with more than 128 fields

2009-03-20 Thread Funky Beast
Hi, I've found a bug in sqldb/firebird. Its reported here, with sample project to reproduce: http://bugs.freepascal.org/view.php?id=13340 Regards, Funky Beast ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-20 Thread Funky Beast
Graeme Geldenhuys wrote: > 2009/3/20 Funky Beast : >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340 > > > What version of Firebird? How many bytes does a single recor

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-21 Thread Funky Beast
Hi Joost, Joost van der Sluis wrote: > Op vrijdag 20-03-2009 om 22:38 uur [tijdzone +0800], schreef Funky > Beast: > >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-21 Thread Funky Beast
Graeme Geldenhuys wrote: > On Fri, Mar 20, 2009 at 5:27 PM, Funky Beast > wrote: >> Its Firebird 2.0.3, that bug only appears in sqldb/firebird combination. >> The same table that this combo can't open, opens successfully with >> fblib-0.85, flamerobin and fenixsql.

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Funky Beast
Joost van der Sluis wrote: > Op vrijdag 20-03-2009 om 22:38 uur [tijdzone +0800], schreef Funky > Beast: > >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340 > > You

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Funky Beast
Joost van der Sluis wrote: > Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: >> I found the culprit. >> >> In TIBConnection.PrepareStatement's variable section, x was declared >> as a shortint >> which would cause problem when i

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Funky Beast
Joost van der Sluis wrote: > Op zondag 22-03-2009 om 18:40 uur [tijdzone +0800], schreef Funky Beast: >> Joost van der Sluis wrote: >>> Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: >>>> I found the culprit. >>>> >>>>

[fpc-pascal] Re: Parser combinator library

2009-09-03 Thread Funky Beast
leledumbo wrote: > Is there any parser combinator library for Pascal? Not sure if this is what you're looking for, you might try porting some of these: http://www.delphiforfun.org/Programs/Library/Default.htm Regards, Funky Beast ___ fp

[fpc-pascal] Re: Linux program sometimes crashes with "EProcess : Failed to create pipes"

2009-09-10 Thread Funky Beast
s Classes, SysUtils, BaseUnix, Unix; type { TIgnoreSignal } TIgnoreSignal = class public procedure DoIgnoreChildProc; end; implementation { TIgnoreSignal } procedure TIgnoreSignal.DoIgnoreChildProc; var sigact: sigactionrec; begin sigact.sa_flags := SA_NOCLDWAIT; FPSigaction(SIGCHLD, @sigact, nil); end; end. ** HTH, Funky Beast ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Possible bug in return value of MonthsBetween function in unit dateutils

2009-12-10 Thread Funky Beast
do a test. Now, if I strip away Trunc() from the function, the result is: 9.98767967. Trunc() simply strips away the decimals behind, which returns: 9. I'm wondering if Round() should be used instead of Trunc(). Regards, Funky Beast. ___ fpc-p

[fpc-pascal] Re: Possible bug in return value of MonthsBetween function in unit dateutils

2009-12-10 Thread Funky Beast
Vincent Snijders wrote: > Funky Beast schreef: >> Hi, >> >> When trying to get the number of months between the following dates: >> 01-06-2009 and 01-08-2008 >> >> MonthsBetween returns: 9 months. >> >> That is clearly wrong (fundamentally counti

[fpc-pascal] Re: Possible bug in return value of MonthsBetween function in unit dateutils

2009-12-10 Thread Funky Beast
Marco van de Voort wrote: > In our previous episode, Henry Vermaak said: >> 2009/12/10 Funky Beast : >>> I did read that, but I'm just wondering isn't 9.98767967 more approximate >>> to 10 than 9? >> How do you round a month? It makes sense that

[fpc-pascal] Smallint field in TIBConnection of SQLDB

2007-03-11 Thread Funky Beast
Hi, How to detect a Smallint field with TIBConnection? I'm writing a tool to aid in restructuring my projects' databases and their tables. But TIBConnection detects Smallint fields as Integer fields. TIA, Funky Beast ___ fpc-pascal mailli

[fpc-pascal] Re: can we have fpc's doc in chm format? [Patch]

2007-12-09 Thread Funky Beast
gt; I also just downloaded some ISO images, and those came through without a > glitch, > so I'm not entirely convinced it is the download (unless something is wrong > with > the files on your site..) > > Ah well, the mysteries of internet :/ > > Michael. > ___

[fpc-pascal] Re: Pascal postscript reading library

2008-04-23 Thread Funky Beast
://www.efg2.com/Lab/Library/Delphi/Graphics/FileFormatsAndConversion.htm PS: Wow ... you build CNC machines! Custom build or standard ones? Any links to your product site? HTH, Funky Beast ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Pascal postscript reading library

2008-04-23 Thread Funky Beast
importing this format, you would already support a plethora of designing software out there. Your customers will have more choices for their favourite designing tool. > I'll see what I can do about adding an english > translation to the website. Thanks.