Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Nov 1999 20:50:21 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Archie Cobbs <archie@whistle.com>
Cc:        bde@zeta.org.au (Bruce Evans), 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:  <199911030450.UAA02148@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 02 Nov 1999 18:22:03 PST." <199911030222.SAA75822@bubba.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
> 
> Maybe strtoul() should be moved to a new file libkern/strtoul.c..

Quite probably.  I would move the kernel sscanf there as well, along 
with most of the kernel printf.  strtoul went with sscanf because 
that's what it came in with.  sscanf went in sys/kern because that's 
where printf was.  It's probably a bad trend.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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?199911030450.UAA02148>