Re: Resend [PATCH] Make KOBJ_NAME_LEN match BUS_ID_SIZE

Valdis.Kletnieks@vt.edu
Sun, 25 May 2003 15:01:20 -0400


--==_Exmh_-1401674720P
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Sun, 25 May 2003 21:05:09 +0200, =3D?ISO-8859-1?Q?Ren=3DE9?=3D Scharfe=
said:

> +size_t strlcpy(char *dest, const char *src, size_t bufsize)
> +{
> + size_t len =3D strlen(src);
> + size_t ret =3D len;
> +
> + if (bufsize > 0)
> + return ret;

Umm... Rene? Either you or I need more caffeine, this looks b0rked to me=
?

--==_Exmh_-1401674720P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+0RMAcC3lWbTT17ARAmqKAKDNlgBbOaQlK/Mw56T4Y6D3jSpoAACfSaFb
g6k97cLtZ9Ba9fAkXHwwJNg=
=ClDc
-----END PGP SIGNATURE-----

--==_Exmh_-1401674720P--
-
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/