You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2003/04/16 14:39:22 UTC

cvs commit: apr/misc/unix env.c

trawick     2003/04/16 05:39:22

  Modified:    misc/unix env.c
  Log:
  add a hint that may help somebod get apr_env_delete() working on their
  box
  
  Revision  Changes    Path
  1.2       +7 -0      apr/misc/unix/env.c
  
  Index: env.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/env.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- env.c	17 Feb 2003 03:47:10 -0000	1.1
  +++ env.c	16 Apr 2003 12:39:22 -0000	1.2
  @@ -123,6 +123,13 @@
       return APR_SUCCESS;
   
   #else
  +    /* hint: some platforms allow envvars to be unset via
  +     *       putenv("varname")...  that isn't Single Unix spec,
  +     *       but if your platform doesn't have unsetenv() it is
  +     *       worth investigating and potentially adding a
  +     *       configure check to decide when to use that form of
  +     *       putenv() here
  +     */
       return APR_ENOTIMPL;
   #endif
   }