Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 15:23:49 -0600
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        cjclark@alum.mit.edu
Cc:        Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>, Dag-Erling Smorgrav <des@ofug.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/chpass chpass.c pw_copy.c pw_copy.h
Message-ID:  <20020318212349.GA29060@madman.nectar.cc>
In-Reply-To: <20020318001922.Z29705@blossom.cjclark.org>
References:  <200203180222.g2I2Ms309830@freefall.freebsd.org> <20020318161250.1c35600c.yosimoto@waishi.jp> <xzpit7upc55.fsf@flood.ping.uio.no> <20020318170348.671ec4b5.yosimoto@waishi.jp> <20020318001922.Z29705@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 18, 2002 at 12:19:22AM -0800, Crist J. Clark wrote:
> chpass(8) is very, very naughty and uses __pw_scan(). 

The underscores are a warning that it is being naughty.  In this case,
I was not ready to commit to an API for `pw_scan', so when it needed
to be moved to libc, I hid it.  I meant to revisit the issue one day,
but so it goes.

Do not rename it unless you intend for it to be a public API that will
be maintained across releases.  And don't forget to document it in
that case.

[snip]
> This isn't an issue in -STABLE, where pw_scan() is exposed to the
> world properly in libc.

No, it's not.  There is no pw_scan in -STABLE's libc.

Cheers,
-- 
Jacques A. Vidrine <n@nectar.cc>                 http://www.nectar.cc/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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