Subject: Re: lib/765: catopen can return 0 on error not -1
To: None <brezak@ch.hp.com>
From: J.T. Conklin <jtc@NetBSD.ORG>
List: netbsd-bugs
Date: 03/01/1995 00:22:35
	`J.T. Conklin' changed the state to `closed'.


State-Changed-From-To: open-closed
State-Changed-By: jtc
State-Changed-When: Wed Mar  1 00:14:55 1995
State-Changed-Why:
This is not a bug (at least not in the code).

XPG3 limits the error conditions so that -1 is only returned in out of
memory (ENOMEM) conditions.  0 is returned for all other errors.  

catgets "knows" that nl_catd 0 is special, and returns the default message.
catclose "knows" not to close nl_catd 0.