VirtualBox

Changeset 6139 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Dec 18, 2007 5:11:45 PM (17 years ago)
Author:
vboxsync
Message:

Disabling libdaemon.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r6132 r6139  
    3939        $(VBOX_LIB_VBGL_R3) \
    4040        $(VBOX_LIB_IPRT_GUEST_R3)
    41 VBoxService_LIBS.solaris  = daemon
     41#VBoxService_LIBS.solaris  = daemon
    4242
    4343include $(PATH_KBUILD)/subfooter.kmk
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService-solaris.cpp

    r6132 r6139  
    2626#include <signal.h>
    2727#include <fcntl.h>
     28#ifdef USE_LIBDAEMON
    2829#include <libdaemon/dfork.h>
    2930#include <libdaemon/dsignal.h>
     31#endif
    3032
    3133/**
     
    3638int daemon(int nochdir, int noclose)
    3739{
     40#ifdef USE_LIBDAEMON
    3841    pid_t pid = daemon_fork();
    3942    if (pid < 0)
     
    4851    daemon_close_all(-1);
    4952    return 0;
    50 #if 0
     53#else
    5154    if (getppid() == 1) /* We already belong to init process */
    5255        return -1;
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