I give you an update :
1) Your patch works fine, it does exactly what I expected, thanks !!
2) On solaris 9, I've put the code function directly inside the cgi.c file and compilation worked .. indeed .. thanks anyway for your new "pre3" patch (not tested yet)
My newer issue is with 64bits compilation to enable >2GB file download, on solaris 10.
I've read precedent posts about that but mine failed on this error message :
-- mkcpp set time: 1258455029 -> 1250403944 readycc.cc
gcc -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -m64 -c readycc.cc
readycc.cc: In function `int ready_cc(FILE*)':
readycc.cc:8: error: 'struct __FILE' has no member named '_cnt'
readycc.cc: In function `int ready_CC(FILE*)':
readycc.cc:13: error: 'struct __FILE' has no member named '_cnt'
I've tryed different CFLAGS option, but all failed on this point.
Do you have a clue ?
> To: firstname.lastname@example.org
> CC: email@example.com
> Subject: Re: [DeleGate-En] FTP Delegate
> From: firstname.lastname@example.org
> Date: Tue, 17 Nov 2009 17:29:09 +0900
> In message <_A4638@delegate-en.ML_> on 11/13/09(00:30:50) I wrote:
> |In message <_A4636@delegate-en.ML_> on 11/13/09(00:00:31)
> |you frederic montiton <email@example.com> wrote:
> | |It's in fact a problem with <stdlib.h> under solaris 9
> | |
> | |unsetenv function is not present.. I have to update my libgcc and gcc version I guess ...
> |Hmm... adding the definition of unsetenv() in src/env.c will solve
> |the problem without upgrading gcc?
> I uploaded 9.9.6-pre3 including a modification which might solve the
> comiplation problem on Solaris 9.
> 9 9 Yutaka Sato <firstname.lastname@example.org> http://delegate.org/y.sato/
> ( ~ ) National Institute of Advanced Industrial Science and Technology
> _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
> Do the more with the less -- B. Fuller
Windows 7: It works the way you want. Learn more.