X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 	tests=AWL,BAYES_50,SARE_RECV_IP_080040,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
X-Trace: 262614313/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/80.41.121.89/None/johne53@tiscali.co.uk
X-SBRS: None
X-RemoteIP: 80.41.121.89
X-IP-MAIL-FROM: johne53@tiscali.co.uk
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2900.3138Produced By Microsoft MimeOLE  V6.00.2900.3350
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApsEAFzeukpQKXlZ/2dsb2JhbACKbssbhBsF
Message-ID: <09d601ca3d05$65548850$4001a8c0@mycomputer>
From: "John Emmas" <johne53@tiscali.co.uk>
To: <cygwin@cygwin.com>
References: <005f01ca3c4b$e5385b10$4001a8c0@mycomputer> <20090923121735.GA20981@calimero.vinschen.de> <002f01ca3c57$532cd9b0$4001a8c0@mycomputer> <001701ca3c76$ef1a0db0$4001a8c0@mycomputer> <4ABB3ECA.7030504@gmx.de>
Subject: Re: Is this a known problem with getenv() ?
Date: Thu, 24 Sep 2009 10:54:28 -0000
MIME-Version: 1.0
Content-Type: text/plain; 	format=flowed; 	charset="iso-8859-1"; 	reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

----- Original Message ----- 
From: "Matthias Andree"
>
> For the records, the right way to do it is either:
>
> puts(getenv("PATH"));
>
> or
>
> printf("%s\n", getenv("PATH"));
>
Oops, a simple typo.  I'd used the correct printf syntax in the actual code,
but mistyped it here.  Just goes to show that even the most simple code can
be screwed up if not copied & pasted..!  :-(

Anyway, the problem seems to be looking like xterm, so I'll re-post on
cygwin-xfree as Corrina suggested.

Thanks,

John


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

