svn commit: r197949 - head/lib/libc/sys

Alan R. S. Bueno alan.bsd at gmail.com
Mon Oct 12 10:54:03 UTC 2009


On Sun, Oct 11, 2009 at 5:55 PM, Robert Watson <rwatson at freebsd.org> wrote:
>
> On Sun, 11 Oct 2009, David Schultz wrote:
>
>> Log:
>>  Document errno codes added in r144530.
>
> Thanks!  Seeing this MFC'd for 8.0 wouldn't be such a bad thing either.
>
> Robert
>
>
>
>> Modified:
>>  head/lib/libc/sys/intro.2
>>
>> Modified: head/lib/libc/sys/intro.2
>>
>> ==============================================================================
>> --- head/lib/libc/sys/intro.2   Sat Oct 10 22:29:34 2009        (r197948)
>> +++ head/lib/libc/sys/intro.2   Sun Oct 11 00:08:55 2009        (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
===================================================================
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!


More information about the svn-src-head mailing list