VirtualBox

Changeset 102343 in vbox for trunk/src/libs/xpcom18a4/ipc


Ignore:
Timestamp:
Nov 27, 2023 6:03:21 PM (14 months ago)
Author:
vboxsync
Message:

libs/xpcom: Replace the uses of PL_strncpyz with RTStrCopyP and get rid of it, bugref:10545 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp

    r102254 r102343  
    5959#include <errno.h>
    6060
    61 #include "plstr.h"
    6261#include "prprf.h"
    6362
     
    486485        IPC_GetDefaultSocketPath(addr.sun_path, sizeof(addr.sun_path));
    487486    else
    488         PL_strncpyz(addr.sun_path, pszSocketPath, sizeof(addr.sun_path));
     487        RTStrCopy(addr.sun_path, sizeof(addr.sun_path), pszSocketPath);
    489488
    490489#ifdef IPC_USE_FILE_LOCK
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