VirtualBox

Changeset 101933 in vbox


Ignore:
Timestamp:
Nov 7, 2023 11:38:27 AM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom: Remove support for IPC modules which we never used (ipcModuleCount is always 0 and the directory where modules are looked for doesn't exist), bugref:10545

Location:
trunk/src/libs/xpcom18a4
Files:
3 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r101931 r101933  
    360360        ipc/ipcd/util/public/ipcMessageReader.h \
    361361        ipc/ipcd/util/public/ipcMessageWriter.h \
    362         ipc/ipcd/daemon/public/ipcModule.h \
    363         ipc/ipcd/daemon/public/ipcModuleUtil.h \
    364362        ipc/ipcd/client/public/ipcdclient.h
    365363
     
    986984        ipc/ipcd/daemon/src/ipcd.cpp \
    987985        ipc/ipcd/daemon/src/ipcClient.cpp \
    988         ipc/ipcd/daemon/src/ipcModuleReg.cpp \
    989986        ipc/ipcd/daemon/src/ipcCommandModule.cpp \
    990987        ipc/ipcd/daemon/src/ipcdUnix.cpp
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcClient.cpp

    r7029 r101933  
    3939#include "ipcClient.h"
    4040#include "ipcMessage.h"
    41 #include "ipcModuleReg.h"
    4241#include "ipcd.h"
    4342#include "ipcm.h"
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcCommandModule.cpp

    r7029 r101933  
    4444#include "ipcMessage.h"
    4545#include "ipcMessageUtils.h"
    46 #include "ipcModuleReg.h"
    4746#include "ipcd.h"
    4847#include "ipcm.h"
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcd.cpp

    r2440 r101933  
    4343#include "ipcMessage.h"
    4444#include "ipcClient.h"
    45 #include "ipcModuleReg.h"
    46 #include "ipcModule.h"
    4745#include "ipcCommandModule.h"
    4846#include "ipcdPrivate.h"
     
    8482    }
    8583
    86     return IPC_DispatchMsg(client, msg->Target(), msg->Data(), msg->DataLen());
     84    return PR_SUCCESS;
    8785}
    8886
     
    120118    LOG(("IPC_NotifyClientUp: clientID=%d\n", client->ID()));
    121119
    122     // notify modules before other clients
    123     IPC_NotifyModulesClientUp(client);
    124 
    125120    for (int i=0; i<ipcClientCount; ++i) {
    126121        if (&ipcClients[i] != client)
     
    134129{
    135130    LOG(("IPC_NotifyClientDown: clientID=%d\n", client->ID()));
    136 
    137     // notify modules before other clients
    138     IPC_NotifyModulesClientDown(client);
    139131
    140132    for (int i=0; i<ipcClientCount; ++i) {
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp

    r38636 r101933  
    6565#include "ipcMessage.h"
    6666#include "ipcClient.h"
    67 #include "ipcModuleReg.h"
    6867#include "ipcdPrivate.h"
    6968#include "ipcd.h"
     
    532531    }
    533532    else {
    534         IPC_InitModuleReg(argv[0]);
    535 
    536533#ifdef VBOX
    537534        // Use large backlog, as otherwise local sockets can reject connection
     
    578575            PollLoop(listenFD);
    579576        }
    580 
    581         IPC_ShutdownModuleReg();
    582577    }
    583578
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