From owner-cvs-all Thu Jan 27 14:27:11 2000 Delivered-To: cvs-all@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 805CE14BC5; Thu, 27 Jan 2000 14:27:05 -0800 (PST) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id WAA40835; Thu, 27 Jan 2000 22:26:59 GMT (envelope-from joe) Date: Thu, 27 Jan 2000 22:26:59 +0000 From: Josef Karthauser To: Steve Kargl Cc: Josef Karthauser , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/bin/ls Makefile ls.c src/bin/rm Makefile rm.c src/include unistd.h src/lib/libc/gen setflags.3 Makefile. Message-ID: <20000127222659.C97579@florence.pavilion.net> References: <200001272117.NAA71172@freefall.freebsd.org> <200001272210.OAA15643@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200001272210.OAA15643@troutmask.apl.washington.edu> X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, Jan 27, 2000 at 02:10:41PM -0800, Steve Kargl wrote: > Josef Karthauser wrote: > > joe 2000/01/27 13:17:01 PST > > Recently I moved these functions from /usr/src/bin/ls to libutil, > > but after some discussion with bde it's been decided that they > > really ought to go in libc. > > > > There are two already existing libc functions for manipulating file > > modes: setmode and getmode. In keeping with these flags_to_string > > has been renamed getflags and string_to_flags to setflags. > > > > Does this require a bumping of __FreeBSD_version in sys/param.h? I don't believe so. > That is, will older images work with the newer library? Should do, no former API has changed. The functions were initially moved to libutil on 30th Dec 1999, so you can't use ls, rm, etc from then with libutil from now because it's missing the functions, although earlier than that date they all had the necessary functions statically linked in. Joe -- Josef Karthauser FreeBSD: Take the red pill and we'll show you just how Technical Manager deep the rabbit hole goes. (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message