apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40764] New: - apr_get_env calls with zero-length values should not return APR_ENOENT on Windows
Date Mon, 16 Oct 2006 13:23:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40764>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40764

           Summary: apr_get_env calls with zero-length values should not
                    return APR_ENOENT on Windows
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: margol@beamartyr.net


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 (will attach it to this bug) is a patch which fixes this
behavior.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message