apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/misc/unix env.c
Date Wed, 16 Apr 2003 12:39:22 GMT
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
   }
  
  
  

Mime
View raw message