Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact bugs-help@apr.apache.org; run by ezmlm Delivered-To: mailing list bugs@apr.apache.org Received: (qmail 9187 invoked by uid 99); 6 Nov 2006 15:30:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 07:30:33 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 07:30:04 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id 660E371430E; Mon, 6 Nov 2006 07:29:43 -0800 (PST) From: bugzilla@apache.org To: bugs@apr.apache.org Subject: DO NOT REPLY [Bug 40764] - apr_get_env calls with zero-length values should not return APR_ENOENT on Windows In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20061106152943.660E371430E@brutus.apache.org> Date: Mon, 6 Nov 2006 07:29:43 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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 ------- Additional Comments From wrowe@apache.org 2006-11-06 07:29 ------- You realize zero in this case means the the MS API isn't correctly requisitioning the space for a trailing NULL on the empty string? I was going to ask if we can avoid the test for NULL and special casing it, but apparently we would have to add the cycles to increment the returned size by 1 (with or without a test) so the special case looks as optimial as we can hope for. Did you have a chance to look at the unix behavior on any variety of unix platforms to see if there is at least a conformant subset? At least the test will let users verify proper behavior, thank you for that addition as well. -- 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.