Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH} define _GNU_SOURCE on Cygwin
- X-seq: zsh-workers 39729
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH} define _GNU_SOURCE on Cygwin
- Date: Wed, 26 Oct 2016 10:56:52 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=niT3PYiN9pzP3p8 2aTiIpriR970=; b=jkTNbhLZI+lPCmcwaY3/feB+rrNB/y+MipIScgdyJX8BL82 kXKCnzOwwAKSAnxGik9Qz8/oN+vpEp8yaZv53npBbmnhP98+TQLrjwyxwzDcJCfe TRSNw8ehQxyHiron+0J4lYLg3Qh2qfwh1n9mk/OhnOiYxe5A4X5TSgHFzPLY=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=niT3PYiN9pzP3p 82aTiIpriR970=; b=K/nRsVDXeQHJjBD9LuOk/zY16vGpjJ5w9WemuFS4bMcbhs WABp2ZmN8ylzTs+jSiabP+80gVdWeonYuEg8imti+6ueu/yM5COP7T+LjATO5tMJ uMgdDck8i0XcqkqsWexgvDnITDjBM0xOEhPHLJbj/MIYx4jsITJsS2Sh/R6Gw=
- In-reply-to: <9E7FD5B2-061D-4ABE-84A8-A54C844E34BE@kba.biglobe.ne.jp>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <9E7FD5B2-061D-4ABE-84A8-A54C844E34BE@kba.biglobe.ne.jp>
Jun T. wrote on Wed, Oct 26, 2016 at 19:04:08 +0900:
> Cygwin now started to require _XOPEN_SOURCE also for
> wcwidth() (in addition to strptime(); cf. worker/38862).
>
> Since wcwidth() is used in may files, I think it would be
> better to define _GNU_SOURCE in zsh_system.h.
>
> (defining _XOPEN_SOURCE alone hides may other function)
The patch causes _XOPEN_SOURCE to no longer be defined, ever.
Is this okay for both old and new cygwin? I.e., does this patch work
for people compiling new zsh on old cygwin?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author