Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "cygwin" Cc: Subject: RE: putenv() - copying environment string violates Unix specs? Date: Tue, 25 Jul 2000 15:37:57 +0400 Message-ID: <001f01bff62c$c7b512f0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-reply-to: <397D6B77.51D3B6A6@cygnus.com> > > You're right and I think it should possible to change that but > I'm not sure if that will make it into 1.1.3. > Of course, then setenv() should never attempt to reuse old environment string. Just occured to me. That gives consitent handling - caller is responsible for allocating and freeing environment strings. -andrej -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com