lkml.org 
[lkml]   [1996]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: POSIX compatibility?
From
Date

Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:

> This is a different issue: libio (fgetc) always restarts read() after
> EINTR. But that's exactly what is desired, isn't it? Otherwise the test
> program would not exit with zero (result = ch == EOF && errno == EINTR).

I've looked through XPG4.2 and here EINTR is explicitly mentioned as
one of the possible errors. So I removed the restart code in libio.

I only hope this is compatible with ISO c++ as well...

-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.038 / U:2.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site