On Wed, 2009-11-18 at 20:50 +0100, Sven Barth wrote: > Hi again! > > Sorry, I forgot that... With all that Native NT and C++ linking stuff > happening I'm only thinking in Trunk, currently ^^ > > I'm using 2.5.1 for the platforms i386- and x86_64-linux. On Windows I'm > using 2.2.4. > > Also I tested 2.4.0 now. Same results: troubles on Webhost, but no > problems locally. > > I now tested with 2.2.4 on Linux also. There the problem does not > persist! - at least when I compile the example with i386, I didn't test > with x86_64, because I didn't make the compiler for it. > > Do you, Joost or anyone else have a clue where I could search for this > regression/bug? Does it seem RTL or fcl-web related?
I still have the attached patch lying around. It is a workaround and I still have to search for the real problem. But maybe it solves your problem. (Can you let me know if it does?) Joost
Index: packages/fcl-web/src/custcgi.pp =================================================================== --- packages/fcl-web/src/custcgi.pp (revision 14257) +++ packages/fcl-web/src/custcgi.pp (working copy) @@ -322,12 +324,13 @@ Cl := ContentLength; I:=TIOStream.Create(iosInput); Try - if (CL<>0) then + // Zie cnoc-bug 1581 Uitzoeken wat er precies aan de hand is! +{ if (CL<>0) then begin SetLength(FContent,Cl); I.Read(FContent[1],Cl); end - else + else} begin FContent:=''; While (I.Read(B,1)>0) do
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal