apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Issac Goldstand <mar...@beamartyr.net>
Subject win32 apr_get_env calls with zero-length values should not return APR_ENOENT
Date Mon, 30 Oct 2006 12:58:34 GMT
Hi all,

When making calls to apr_get_env on win32 platforms, if the given environment
variable exists, but has a zero-length value, the apr_get_env call should return
APR_SUCCESS with either an empty-string value or NULL.  APR_ENOENT should only
be returned if the requested environment variable does not exist in the
environment.  Enclosed is a patch which fixes this behavior. This is recorded at  
http://issues.apache.org/bugzilla/show_bug.cgi?id=40764 including the patch to 
fix + a patch for a test case for the test suite.

  Issac



Mime
View raw message