[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getdomainname: fix several problems
From: |
Paul Eggert |
Subject: |
Re: getdomainname: fix several problems |
Date: |
Sun, 28 Nov 2010 19:07:22 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
On 11/28/2010 06:43 PM, Bruno Haible wrote:
> The declaration of sysinfo on all three platforms (Solaris, IRIX, OSF/1) is:
> int sysinfo(int, char *, long);
Ah, sorry, I was relying on the Solaris man page, which says it
returns "long".
http://docs.sun.com/app/docs/doc/816-5167/sysinfo-2
Since it actually returns 'int' the patch is fine.
> > It's private, not deprecated.
> OK, let me write "discouraged". I don't know about the nuances between these
terms.
"Deprecated" means the interface is still there and still works
but may be removed in a future release and new applications should
use a better interface. "Private" means the interface exists
but its behavior is undocumented and cannot be relied on, even in
this release. "Discouraged" is also a term used in Sun man pages;
it means "you shouldn't do this" without necessarily explaining why.
Re: getdomainname: fix several problems, Simon Josefsson, 2010/11/28