Re: [fpc-devel] Strange things with the apache header files on Linux

2008-10-01 Thread ABorka
When copying the files from httpd22 dir to my project directory and recompiling them with my project the record sizes are OK and same as the C compiled apache module. Yet, the apache module compiled with FPC/Lazarus is not working. The hooked DefaultHandler function is never called, just an em

[fpc-devel] Strange things with the apache header files on Linux

2008-10-01 Thread ABorka
On Linux (Ubuntu 8.04), latest SVN, in fpc/packages/httpd22/... in httpd.inc inside request_rec: { body byte count, for easy access } bytes_sent: apr_off_t; { Last modified time of the requested resource } mtime: apr_time_t; in apr.pas : apr_off_t = Int64; apr_int64_t = Int64

[fpc-devel] String collating (oops)

2008-10-01 Thread Honza
Hi all, can anybody please comment on the following? Bellow is a simple function, returning "M9,MD,P6". function F: String; begin with TStringList.Create do try Sorted := True; Add('P6'); Add('M9'); Add('MD'); Result := CommaText; fina

[fpc-devel] String collating

2008-10-01 Thread Honza
Hi all, can anybody please comment on the following? Bellow is a simple function, returning "M9,MD,P6". function F: String; begin with TStringList.Create do try Sorted := True; Add('P6'); Add('M9'); Add('MD'); Result := CommaText;

Re: [fpc-devel] [PATCH] unix/serial.pp mods for darwin

2008-10-01 Thread Jonas Maebe
On 01 Oct 2008, at 20:18, Jonas Maebe wrote: On 01 Oct 2008, at 08:41, Brad Campbell wrote: This is actually only required on 10.5 on Intel, but it does not seem to hurt on the other versions. If left in place, this just blocks and stalls the program. - +{$IFNDEF DARWIN} tcflush(Handle, T

Re: [fpc-devel] Howto hide Hint: Parameter "yyy" not used

2008-10-01 Thread Jonas Maebe
On 29 Sep 2008, at 16:50, [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 11:49:29AM +0200, Jonas Maebe wrote: On 29 Sep 2008, at 11:41, Paul Ishenin wrote: Jonas Maebe ??: That's just a hack, and you have to regenerate the message file for every new FPC release. Ofcource, bu

Re: [fpc-devel] [PATCH] unix/serial.pp mods for darwin

2008-10-01 Thread Jonas Maebe
On 01 Oct 2008, at 08:41, Brad Campbell wrote: This is actually only required on 10.5 on Intel, but it does not seem to hurt on the other versions. If left in place, this just blocks and stalls the program. - +{$IFNDEF DARWIN} tcflush(Handle, TCIOFLUSH); - tcsetattr(Handle, TCSANOW, tios)