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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=mKj V1XCuKjH6V0ehP48GbbAlvnGJAlnPbrgcussPFGK9Mm6hY8Sg2lCrBwi55Jg5DOL rgSmG6EMo9uhLvfZPipDyJUIYwEJDU4WQywSBC2Awda4adciYc/YZT2Id+5VKLF3 xJ4JSo0Yrpp3siLrXMDmZTbrGXaWmyGZF9yWcpQI= 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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=mrR6w1LP1 iOoHrerL0WAkZNOuFA=; b=cKRZtehe+hqOQdneNTN8iF6TN0feQpN7FAt9Xa8GQ xvqxEoloBx004yr1XQYYIAz3P2aDg0cV+EpICnUrqOIp2fy9WOvtjBg1UgU50Gix +l2gvgcgRMfxT7O4CKM82Q+sFGpDnhjmExqU7ewKHS4IxkI5fpmrAnWrxv+NAkVl Mc= 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.1 required=5.0 tests=AWL,BAYES_00,RCVD_VIA_APNIC,RP_MATCHES_RCVD,SPF_HELO_PASS,T_MANY_HDRS_LCASE autolearn=ham version=3.3.1 From: Fedin Pavel <p DOT fedin AT samsung DOT com> To: cygwin AT cygwin DOT com Subject: TEMP_FAILURE_RETRY macro missing Date: Wed, 10 Jul 2013 14:45:33 +0400 Message-id: <001801ce7d5a$9b3f5230$d1bdf690$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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 ? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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