Re: [fpc-devel] "Unable to open file" on Linux randomly in a CGI application when using templates

2010-03-15 Thread ABorka
Thanks for the help. It appears that the GetLastOSError is 9 for these errors. In the errno.inc for Linux, that is ESysEBADF = 9;{ Bad file number } I'm not exactly sure what this means though. Right now as a workaround, when this happens, I do a sleep(100) and retry the page genera

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Jonas Maebe
On 15 Mar 2010, at 14:13, Flávio Etrusco wrote: > On Mon, Mar 15, 2010 at 7:31 AM, Jonas Maebe > wrote: >> >> On 15 Mar 2010, at 11:12, Paul Ishenin wrote: >> >>> 15.03.2010 17:01, Jonas Maebe wrote: >>> the only problem in that respect is that without the hacky patch mentioned ear

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Flávio Etrusco
On Mon, Mar 15, 2010 at 7:31 AM, Jonas Maebe wrote: > > On 15 Mar 2010, at 11:12, Paul Ishenin wrote: > >> 15.03.2010 17:01, Jonas Maebe wrote: >> >>> the only problem in that respect is that without the hacky >>> patch mentioned earlier, GDB's Pascal parser does not support expressing >>> method

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Jonas Maebe
On 15 Mar 2010, at 11:12, Paul Ishenin wrote: 15.03.2010 17:01, Jonas Maebe wrote: the only problem in that respect is that without the hacky patch mentioned earlier, GDB's Pascal parser does not support expressing method calls. The remaining question for me is whether you will implement

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Graeme Geldenhuys
Jonas Maebe het geskryf: > > This explains http://bugs.freepascal.org/view.php?id=15691 I added that url as a note to the above bug report - so information is not forgotten. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgu

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Paul Ishenin
15.03.2010 17:01, Jonas Maebe wrote: the only problem in that respect is that without the hacky patch mentioned earlier, GDB's Pascal parser does not support expressing method calls. The remaining question for me is whether you will implement that hacky patch :) ? Best regards, Paul Ishenin

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Jonas Maebe
On 15 Mar 2010, at 07:49, Graeme Geldenhuys wrote: And here is more information. http://docwiki.embarcadero.com/RADStudio/en/Program_Control Thank you, that is the information that was needed: "For a string, dynamic array, method pointer, or variant result, the effects are the same as if

Re: [fpc-devel] properties with getter evaluation in gdb

2010-03-15 Thread Jonas Maebe
On 15 Mar 2010, at 04:01, Paul Ishenin wrote: 12.03.2010 21:49, Jonas Maebe wrote: The default calling convention could be used. This would only work for routines with "simple" return types though (types that are not returned via a hidden first parameter). I don't think any/default call

Re: [fpc-devel] "Unable to open file" on Linux randomly in a CGI application when using templates

2010-03-15 Thread Jonas Maebe
On 15 Mar 2010, at 03:17, ABorka wrote: On 3/14/2010 16:08, Jonas Maebe wrote: On 14 Mar 2010, at 23:39, ABorka wrote: I have a CGI application with a datamodule that is using templates to generate the response pages (accessing a MySQL database through ZEOS). Every once in a while, I'm g