bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recent gnulib has problems with read, write and close within structs


From: Bruno Haible
Subject: Re: recent gnulib has problems with read, write and close within structs
Date: Mon, 14 Sep 2020 18:15:45 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-189-generic; KDE/5.18.0; x86_64; ; )

Joël Krähemann wrote:
> I would be interested in why it was working prior?

Prior, Gnulib did '#define write rpl_write' only when
  - the Gnulib module 'write' was in use, either directly or indirectly,
  - and the platform's write() needs a workaround [1].

Now, we're doing '#define write _write' (on native Windows) unconditionally [2],
as part of the support of clang on Windows.

Bruno

[1] https://www.gnu.org/software/gnulib/manual/html_node/write.html
[2] https://lists.gnu.org/archive/html/bug-gnulib/2020-08/msg00109.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]