Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 85862 invoked from network); 17 Apr 2008 11:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 11:12:32 -0000 Received: (qmail 17291 invoked by uid 500); 17 Apr 2008 11:12:32 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 17271 invoked by uid 500); 17 Apr 2008 11:12:32 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 17262 invoked by uid 99); 17 Apr 2008 11:12:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 04:12:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 11:11:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B3C2E234C0D6 for ; Thu, 17 Apr 2008 04:09:21 -0700 (PDT) Message-ID: <870422267.1208430561734.JavaMail.jira@brutus> Date: Thu, 17 Apr 2008 04:09:21 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Closed: (STDCXX-646) [MSVC] rw_putenv() limitations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farid Zaripov closed STDCXX-646. -------------------------------- Merged in 4.2.x branch thus: http://svn.apache.org/viewvc?view=rev&revision=648752 > [MSVC] rw_putenv() limitations > ------------------------------ > > Key: STDCXX-646 > URL: https://issues.apache.org/jira/browse/STDCXX-646 > Project: C++ Standard Library > Issue Type: Bug > Components: Test Driver > Affects Versions: 4.2.0 > Environment: MSVC, ICC/Windows > Reporter: Farid Zaripov > Assignee: Farid Zaripov > Fix For: 4.2.1 > > Attachments: environ.cpp.diff, stdcxx-646.patch > > Time Spent: 8.07h > Remaining Estimate: 0h > > In 0.printf.cpp test the rw_putenv() is used to define variable to null and to undefine variable. > --------------- > 1. rw_putenv ("NULL="); // define to null (empty string) > 2. rw_putenv ("UNSET"); // undefine if defined > --------------- > But on MSVC putenv() could not define variable to null, so: > 1. rw_putenv ("NULL="); undefines the NULL variable instead defining it to null; > 2. rw_putenv ("UNSET"); does nothing instead of undefining variable -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.