| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=F8beCgXFZjF2YlLBLo/ZW+fZN0vT7lXo5xfpL8Fcq1HicVpCgG5WE | |
| oh3rb9nlFHHW1OGL8cHmyJSYkU8/9vVHjt39Km4MQBuZ2SiMlde42hS7CAXZ8ZzZ | |
| TmyP2boTzd4qoF/mjsK6utT2SfBlKg1zFgsJsjJpJVKQOz7waAnvYQ= | |
| 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:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=rw8BC8zzlJnF22Zkn16a9Vzd0WQ=; b=hw14VsQodpE5o4QCA2Dka5NHCPXc | |
| +aJL0kqgFDmjwI7Cdcpf0hMVgp++oVGF3tvOydc4yAfFQzM71F068tqf0mv35fCK | |
| 2GFQIBIksuKS7jeleHzn2wSx1mSVEFitCAXf/ekp085W66YTu/GFsFbjHp91geXH | |
| 6qaQhHJS1krChKc= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 |
| Date: | Thu, 11 Jul 2013 10:05:43 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: TEMP_FAILURE_RETRY macro missing |
| Message-ID: | <20130711080543.GB32760@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <001801ce7d5a$9b3f5230$d1bdf690$%fedin AT samsung DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <001801ce7d5a$9b3f5230$d1bdf690$%fedin@samsung.com> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Jul 10 14:45, Fedin Pavel wrote:
> Hello!
>
> My cross-compiling activity has discovered that TEMP_FAILURE_RETRY() macro
> is often used, but missing in our includes. GNU code of this macro is below:
> --- cut ---
> # define TEMP_FAILURE_RETRY(expression) \
> (__extension__
> \
> ({ long int __result;
> \
> do __result = (long int) (expression);
> \
> while (__result == -1L && errno == EINTR);
> \
> __result; }))
> --- cut ---
> This is used in elf-utils and Prelink. What about adding it ?
That's defined in unistd.h, which is newlib territory. Care to send a
patch to the newlib mailing list?
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |