Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 22:26:59 +0000
From:      Josef Karthauser <joe@pavilion.net>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Josef Karthauser <joe@FreeBSD.ORG>, 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>
In-Reply-To: <200001272210.OAA15643@troutmask.apl.washington.edu>
References:  <200001272117.NAA71172@freefall.freebsd.org> <200001272210.OAA15643@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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