This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: TEMP_FAILURE_RETRY macro missing


 Hello!

 Initially i have reported this to Cygwin ML, but they suggested me to
report this here. See below.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of
Fedin Pavel
Sent: Wednesday, July 10, 2013 2:46 PM
To: cygwin@cygwin.com
Subject: TEMP_FAILURE_RETRY macro missing

 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]