VirtualBox

Ignore:
Timestamp:
Jul 12, 2013 12:48:17 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87211
Message:

Main: RT_ZERO() / RTStrCopy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/xpcom/server_module.cpp

    r37666 r47117  
    5454#include <iprt/process.h>
    5555#include <iprt/env.h>
     56#include <iprt/string.h>
    5657#include <iprt/thread.h>
    57 
    58 #include <string.h>
    5958
    6059#if defined(RT_OS_SOLARIS)
     
    138137
    139138    char msg[10];
    140     memset(msg, '\0', sizeof(msg));
     139    RT_ZERO(msg);
    141140    if (   PR_Read(readable, msg, sizeof(msg)-1) != 5
    142141        || strcmp(msg, "READY"))
Note: See TracChangeset for help on using the changeset viewer.

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