public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: windres broken
Date: Sat, 07 Jan 2017 22:14:00 -0000	[thread overview]
Message-ID: <b9357cba-c5ae-16ec-2df2-882d96ac53df@cornell.edu> (raw)
In-Reply-To: <5871396e.89049d0a.180c9.2294@mx.google.com>

On 1/7/2017 1:54 PM, Steven Penny wrote:
> On Sat, 7 Jan 2017 08:47:35, Ken Brown wrote:
>> That syntax works for me.  Are you sure you're using Cygwin's windres?
>
> I figured it out. If POSIXLY_CORRECT is set in the environment, it causes the
> problem I was having. This should probably be documented somewhere.

 From http://man7.org/linux/man-pages/man3/opterr.3.html:

By default, getopt() permutes the contents of argv as it scans, so that 
eventually all the nonoptions are at the end.  Two other modes are also 
implemented.  If the first character of optstring is '+' or the 
environment variable POSIXLY_CORRECT is set, then option processing 
stops as soon as a nonoption argument is encountered.

Ken

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

  reply	other threads:[~2017-01-07 22:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-07  4:10 Steven Penny
2017-01-07 13:47 ` Ken Brown
2017-01-07 18:54   ` Steven Penny
2017-01-07 22:14     ` Ken Brown [this message]
2017-01-11  5:24       ` Steven Penny
2017-01-07 14:01 ` Hans-Bernhard Bröker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9357cba-c5ae-16ec-2df2-882d96ac53df@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).