Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2009 07:28:17 -0300
From:      "Alan R. S. Bueno" <alan.bsd@gmail.com>
To:        Robert Watson <rwatson@freebsd.org>, David Schultz <das@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r197949 - head/lib/libc/sys
Message-ID:  <d2d9928e0910120328n110f0fa3ide5ba0a2d20edf1e@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.0910112154450.48605@fledge.watson.org>
References:  <200910110008.n9B08tQc095922@svn.freebsd.org> <alpine.BSF.2.00.0910112154450.48605@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 11, 2009 at 5:55 PM, Robert Watson <rwatson@freebsd.org> wrote:
>
> On Sun, 11 Oct 2009, David Schultz wrote:
>
>> Log:
>> =A0Document errno codes added in r144530.
>
> Thanks! =A0Seeing this MFC'd for 8.0 wouldn't be such a bad thing either.
>
> Robert
>
>
>
>> Modified:
>> =A0head/lib/libc/sys/intro.2
>>
>> Modified: head/lib/libc/sys/intro.2
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>> --- head/lib/libc/sys/intro.2 =A0 Sat Oct 10 22:29:34 2009 =A0 =A0 =A0 =
=A0(r197948)
>> +++ head/lib/libc/sys/intro.2 =A0 Sun Oct 11 00:08:55 2009 =A0 =A0 =A0 =
=A0(r197949)
>> @@ -456,6 +456,14 @@ The specified extended attribute does no
>> .It Er 88 EDOOFUS Em "Programming error" .
>> A function or API is being abused in a way which could only be detected
>> at run-time.
>> +.It Er 89 EBADMSG Em "Bad message" .
>> +A corrupted message was detected.
>> +.It Er 90 EMULTIHOP Em "Multihop attempted" .
>> +This error code is unused, but present for compatibility with other
>> systems.
>> +.It Er 91 ENOLINK Em "Link has been severed" .
>> +This error code is unused, but present for compatibility with other
>> systems.
>> +.It Er 92 EPROTO Em "Protocol error" .
>> +A device or socket encountered an unrecoverable protocol error.
>> .It Er 93 ENOTCAPABLE Em "Capabilities insufficient" .
>> An operation on a capability file descriptor requires greater privilege
>> than
>> the capability allows.
>>

Hi,

That modification also imply modifying the template NLS catalog
and the translations (or maybe translators should be advised
to update their files (I don't know if they are aware of the change)).

The patch to C.msg:

Index: C.msg
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/lib/libc/nls/C.msg,v
retrieving revision 1.1
diff -u -r1.1 C.msg
--- C.msg	27 Feb 2005 17:59:39 -0000	1.1
+++ C.msg	12 Oct 2009 10:14:33 -0000
@@ -181,6 +181,16 @@
 87 Attribute not found
 $ EDOOFUS
 88 Programming error
+$ EBADMSG
+89 Bad message
+$ EMULTIHOP
+90 Multihop attempted
+$ ENOLINK
+91 Link has been severed
+$ EPROTO
+92 Protocol error
+$ ENOTCAPABLE
+93 Capabilities insufficient
 $
 $ strsignal() support catalog
 $


Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2d9928e0910120328n110f0fa3ide5ba0a2d20edf1e>