Subject: Re: strl{cpy,cat} into libkern
To: Greg 'groggy' Lehey <grog@lemis.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 05/15/2003 09:25:00
> On the other hand, it doesn't seem to be necessary to change this kind
> of call:
> 
> 		strcpy(ioctl_reply->msg, "no additional drives found");
> 
> This relies on knowing that ioctl_reply->msg is much bigger than any
> normal text, of course.

gcc might even convert that one to an inlined memcpy!

	David

-- 
David Laight: david@l8s.co.uk