public inbox for
help / color / mirror / Atom feed
From: Paul Eggert <>
Subject: [glibc] Merge getopt patch from Gnulib
Date: Wed, 24 Aug 2022 04:59:15 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=06e4033c83276ed349d315bfbf651be56c3e2954

commit 06e4033c83276ed349d315bfbf651be56c3e2954
Author: Paul Eggert <>
Date:   Tue Aug 23 21:16:40 2022 -0700

    Merge getopt patch from Gnulib
    * posix/getopt.c [!_LIBC]: Merge _WIN32 patch from Gnulib
    so that these source files are identical.
    This makes no difference for glibc.

 posix/getopt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/posix/getopt.c b/posix/getopt.c
index a160a4e3bd..128dc7fcf5 100644
--- a/posix/getopt.c
+++ b/posix/getopt.c
@@ -45,7 +45,8 @@
 # define _(msgid) gettext (msgid)
 /* When used standalone, flockfile and funlockfile might not be
    available.  */
+      || (defined _WIN32 && ! defined __CYGWIN__))
 #  define flockfile(fp) /* nop */
 #  define funlockfile(fp) /* nop */
 # endif

                 reply	other threads:[~2022-08-24  4:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

* 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).