From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,2d2df3e9ad18fa63 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-25 02:46:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: ISO/IEC 14519 - Ada POSIX binding Date: Wed, 25 Jun 2003 09:46:17 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3EF2F6B8.3030706@noplace.com> <3EF338C5.2010005@cogeco.ca> <87r85nqlwa.fsf@deneb.enyo.de> <3EF7273A.8060704@cogeco.ca> NNTP-Posting-Host: taranis.iks-jena.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: branwen.iks-jena.de 1056534377 933 217.17.192.37 (25 Jun 2003 09:46:17 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Wed, 25 Jun 2003 09:46:17 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:39711 Date: 2003-06-25T09:46:17+00:00 List-Id: * Berend de Boer wrote: >>>>>> "Lutz" == Lutz Donnerhacke writes: >> No. work/ada/src/kernel/kernel-linux_i86.ads [...] >> EAGAIN : constant error_code := 11; -- Try again [...] >> EWOULDBLOCK : constant error_code := 41; -- is now EAGAIN [...] >> You never know which code the kernel will return. > > I don't know a thing about Ada, but if you look at the Linux source: > /usr/include/asm/errno.h > at line 44 on my system you say the equality. No. This line says, da� 41 (with was returned by older kernels) does not have a symbolic name anymore. If you recompile an older program, which assumes the error code 41, it is leaded to 11 with this kernel. This does not say anything about returning 41.