Subject: Re: db_strcpy()
To: Jun-ichiro itojun Hagino <>
From: Bill Studenmund <>
List: tech-kern
Date: 05/16/2003 09:12:00
On Fri, 16 May 2003, Jun-ichiro itojun Hagino wrote:

> 	any reasons why db_strcpy() is provided in sys/ddb/db_examine.c?
> 	i can't imagine situation where libkern strcpy() does not work and
> 	db_strcpy() does.

The six months between:

date: 1993/03/21 09:46:25;  author: cgd;  state: Exp;

when db_examine.c was checked in (initial import) and:

revision 1.1
date: 1993/10/27 22:00:50;  author: jtc;  state: Exp;
Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.

when it looks like libkern was made.

Also, I guess it would make ddb more self-contained. i.e. so it can work
on Mach and *BSD, w/o depending on the host kernel's facilities. Yes,
_our_ strcpy does the right thing, but does (did) every other kernels??

Take care,