X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=LhEdO2912sBvETFZ
	Fky+8Qw7/NVOUugPUs7ymlQ43oHYl9EZK5v26cRbPz77/1SSN28+bjtDQncFS5ci
	Sc8ciG0QFY2yDL6qyazbgtlnnQtu5HzcFmP+NLBzvTVEt+ewjcq0jBon9ppHHjGa
	bTJFqJiDECFaQccTk8atU7YKLaU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=Rg+zwrHdcRhBhWiB5xL66K
	XuJc4=; b=SCIiOC56MeyE4BYu07T34xkPjRW0e67uUKJP5Pmp6kdYt+KmnLetEc
	yOA2ZlRDvNjNJQEUYj4DeubmI/PwtWtgpKRNf4LlVufMiysyLgg8OguZB2lGXnzs
	CUZ4QQ+HZJOnR7Oa3mgZh30fMRnNGNMkOZtcEIjeQO7fbk0GfljSI=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=leibman, owen, Owen, Leibman
X-HELO: csmail.cs.umass.edu
Reply-To: moss@cs.umass.edu
Subject: Re: scanf and m modifier
References: <768145014.4380137.1467998182030.JavaMail.yahoo.ref@mail.yahoo.com> <768145014.4380137.1467998182030.JavaMail.yahoo@mail.yahoo.com>
To: cygwin@cygwin.com
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <fdf60e4f-656c-01a9-91ef-35cc5e496a78@cs.umass.edu>
Date: Fri, 8 Jul 2016 13:22:32 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <768145014.4380137.1467998182030.JavaMail.yahoo@mail.yahoo.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 7/8/2016 1:16 PM, Owen Leibman wrote:
> The m modifier is handled just fine by the compiler, but
> the results of using it are different on Cygwin than on several other systems
> I've tried. Here is a sample program:

Dear Owen -- The first question I'd ask is: What versions of gcc
and C libraries are we talking about?  IIRC, the m feature is
relatively new (relative being, umm, relative), so which gcc you're
using, and the libraries, too, may matter.

Regards -- Eliot Moss

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

