X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of rcsaba@gmail.com designates 10.229.77.69 as permitted sender) client-ip=10.229.77.69;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of rcsaba@gmail.com designates 10.229.77.69 as permitted sender) smtp.mail=rcsaba@gmail.com; dkim=pass header.i=rcsaba@gmail.com
MIME-Version: 1.0
In-Reply-To: <loom.20120219T012137-323@post.gmane.org>
References: <1329589939.95502.YahooMailNeo@web120301.mail.ne1.yahoo.com>	<loom.20120219T012137-323@post.gmane.org>
Date: Mon, 20 Feb 2012 09:48:26 +0100
Message-ID: <CAEhDDbBxz115C9r78NWS77_WrLFB6s8ViRqs-Jhz1rzQQiQ+ng@mail.gmail.com>
Subject: Re: strange bug that doesn't occur in Linux, OpenBSD or ITS
From: Csaba Raduly <rcsaba@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1K8n6AM006368

On Sun, Feb 19, 2012 at 1:29 AM, Mark Geisert  wrote:
>
> 4. You've coded functions nested inside main().  I haven't seen that practice
> in C language before but apparently it works.  Color me impressed.

It's a non-portable GCC extension:

http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html#Nested-Functions

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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


