Date: Wed, 3 Nov 1999 15:08:10 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Archie Cobbs <archie@whistle.com> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa spkr.c src/sys/kern subr_scanf.c src/sys/pc98/pc98 spkr.c src/sys/sys systm.h Message-ID: <Pine.BSF.4.10.9911031447070.2426-100000@alphplex.bde.org> In-Reply-To: <199911030222.SAA75822@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Nov 1999, Archie Cobbs wrote: > Bruce Evans writes: > > > Modified files: > > > sys/i386/isa spkr.c > > > sys/kern subr_scanf.c > > > sys/pc98/pc98 spkr.c > > > sys/sys systm.h > > > Log: > > > Consolidate some of the various ctype(3) macros in one location. > > > > That location should be libkern/ctype.h so that it doesn't pollute > > everything and so that libkern files can use the same #includes as > > their libc versions (INCLUDES+= -I$S/libkern). > > Yeah, I like that idea better too. > > I wasn't clear about doing that way though.. e.g., why was strtoul() > put inside kern/subr_scanf.c instead of libkern? I was following that > example. It was originally in sys/i386/i386/userconfig.c because it didn't seem likely at the time that it would be useful elsewhere, and the right way to maintain libkern was even less clearer than it is now. > Maybe strtoul() should be moved to a new file libkern/strtoul.c.. I told phk that it should have been put there. We also have a copy of strtol() in libstand. I think libstand should be under /sys and merged with libkern at the source level. It needs the same ctype hacks. Bruce 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?Pine.BSF.4.10.9911031447070.2426-100000>