Article delegate-en/4638 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4636@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: FTP Delegate
12 Nov 2009 15:30:53 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4636@delegate-en.ML_> on 11/13/09(00:00:31)
you frederic montiton <pbijabdyi-qjyh54khbnxr.ml@ml.delegate.org> 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?

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.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


*** dist/delegate9.9.6-pre2/src/cgi.c	Sun Aug 16 15:25:44 2009
--- cgi.c	Fri Nov 13 00:18:27 2009
***************
*** 1365,1370 ****
--- 1365,1373 ----
  #ifdef _MSC_VER
  void unsetenv(const char *name);
  #endif
+ #if defined(sun) && defined(__cplusplus)
+ extern "C" int unsetenv(const char *name);
+ #endif
  /* 9.9.4 MTSS -Ete putting new environ. vector using putenv() and unsetenv()
   * without directly rewriting the global *environ and environ[]
   */

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V