Вот копал я cgi копал и почти сразу наткнулся на странное... при инициализации TCGIApplication, программа валится в SIGSERV... разбор полётов показал, что происходит это в процедуре custapp.inc -> SysGetEnvironmentList
И тут самое странное - комментарий в заголовке этого файла:
{
This file is part of the Free Pascal run time library.
Copyright © 2003 by the Free Pascal development team
Linux version of custom app object routines.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
function GetEnvironmentStrings : pchar; external 'kernel32' name 'GetEnvironmentStringsA';
function FreeEnvironmentStrings(p : pchar) : longbool; external 'kernel32' name 'FreeEnvironmentStringsA';
Linux version?
Лежит он, кстати, в win32.
Laz 1.9.7 - 1.9.9