Subject: Re: lib/libc/net/rcmd.c: solaris compatibility
To: None <itojun@iijlab.net>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-net
Date: 02/23/2000 00:04:07
On Wed, Feb 23, 2000 at 01:44:15AM +0900, itojun@iijlab.net wrote:
> I was asked about "solaris compatibility" (support platform without
> sa_len) for src/lib/libc/net/rcmd.c. I'm happy to do that, but this
> would need function prototype change to visible functions, which
> usually means (1) backward compat function or (2) libc shlib major
> bump.
>
> The situation here is like this:
> - The functions are not globally declared (they are not static, but
> function signatures are not in headers, name starts with underbars).
> - The functions are introduced very recently (maybe 1 month?)
> - They are not very standard
> What is the right way here?
> (0) don't change it
> (1) just commit it
> (2) supply backward compat function
> (3) libc shlib major bump
I don't think we should be adding support for other systems in our basesrc,
especially if it would be a pain to do so, which it is in this case.
If the pkgsrc NetBSD emulation environment for Solaris needs something
different, it should come with a patch of itself.
- Frank