From owner-freebsd-current Mon Jul 2 16:36:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 7D21137B403 for ; Mon, 2 Jul 2001 16:36:51 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b047.otenet.gr [195.167.121.175]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f62NamK03175; Tue, 3 Jul 2001 02:36:48 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.3) id f62Nalp69550; Tue, 3 Jul 2001 02:36:47 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 3 Jul 2001 02:36:46 +0300 From: Giorgos Keramidas To: Peter Jeremy Cc: current@freebsd.org Subject: Re: funny strlen defines in sys/alpha/alpha/alpha-gdbstub.c Message-ID: <20010703023646.A65147@hades.hell.gr> References: <20010702113423.B7023@hades.hell.gr> <20010703090423.V506@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010703090423.V506@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Tue, Jul 03, 2001 at 09:04:23AM +1000 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 03, 2001 at 09:04:23AM +1000, Peter Jeremy wrote: > Alternatively, given the XXX comment, why not delete the local copies > of str{cpy,len}() and just usr the library versions? The original > reason appears to be to avoid the possibility that str{cpy,len}() are > not re-entrant. The FreeBSD ones _are_ re-entrant and it doesn't seem > likely that we will re-write them not to be re-entrant. I don't have an alpha around to test any of these changes. If someone can test a kernel with these functions removed, and/or replaced by gdb_xxx equivalents, and says that it works for them, its ok with me. What you suggest about reentrancy seems OK though :-) -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message