VirtualBox

Changeset 10984 in vbox


Ignore:
Timestamp:
Jul 30, 2008 1:37:15 PM (17 years ago)
Author:
vboxsync
Message:

vbgl: NIL_RTFILE instead of NULL/0. (All IPRT handles have a corresponding NIL_RTXYZ.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDaemonize.cpp

    r10973 r10984  
    152152    /* We start off by opening the pidfile, so that we can fail straight away
    153153     * if it already exists. */
    154     RTFILE hPidfile = NULL;
     154    RTFILE hPidfile = NIL_RTFILE;
    155155    if (pszPidfile != NULL)
    156156    {
     
    176176    {
    177177# ifndef RT_OS_LINUX /* On Linux we do another fork later */
    178         if (hPidfile != NULL)
     178        if (hPidfile != NIL_RTFILE)
    179179        {
    180180            char szBuf[256];
     
    238238    if (pid != 0)
    239239    {
    240         if (hPidfile != 0)
     240        if (hPidfile != NIL_RTFILE)
    241241        {
    242242            char szBuf[256];
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