Re: Resend [PATCH] Make KOBJ_NAME_LEN match BUS_ID_SIZE

Linus Torvalds (torvalds@transmeta.com)
Sun, 25 May 2003 10:10:56 -0700 (PDT)


On 25 May 2003, Adam Sampson wrote:
>
> If you're going to do this, it might make sense to call it "strlcpy"
> for consistency with the OpenBSD-introduced function of the same name
> that's getting included in a lot of userspace these days...

Sure, done. I'll check it in asap (and I'll make the devfs parts that Ben
was unhappy about use it too).

Somebody (else ;) should probably go through our current uses of strncpy()
and see if they make sense. Some of them probably do, but I suspect
anything name/path related does not.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/