lkml.org 
[lkml]   [2003]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Resend [PATCH] Make KOBJ_NAME_LEN match BUS_ID_SIZE
    From
    Date
    On Sun, 25 May 2003 21:05:09 +0200, =?ISO-8859-1?Q?Ren=E9?= Scharfe said:

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

    Umm... Rene? Either you or I need more caffeine, this looks b0rked to me?
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:35    [W:2.146 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site