VirtualBox

Changeset 102993 in vbox for trunk


Ignore:
Timestamp:
Jan 22, 2024 5:41:44 PM (9 months ago)
Author:
vboxsync
Message:

Add wrapper for strlcpy/strscpy functions, build fix, bugref:10584.

It seem, strscpy was added around 4.3.0. Older kernels probably
have it as a backport. So, stick to 4.3.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/string.h

    r102992 r102993  
    259259 */
    260260#if defined(RT_OS_LINUX) && defined(__KERNEL__)
    261 # if (RTLNX_VER_MIN(3,16,60))
     261# if (RTLNX_VER_MIN(4,3,0))
    262262#  define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst)   (void)strscpy((a_pDst), (a_pSrc), (a_cbDst))
    263263# else /* < 3.16.60 */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette