VirtualBox

Ignore:
Timestamp:
Apr 24, 2025 10:08:54 AM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168604
Message:

libs/xpcom,Main/glue,++: Bake the automatic re-registration of XPCOM components (in the components directory) into the NS_InitXPCOM2 call to avoid the problem of VBoxXPCOMIPCC.so/dylib being engaged at the end of NS_InitXPCOM2 and unable to re-register if this is done later by the client code. Added a fFlagsInit parameter to indicate whether this auto reg behaviour is required or not and renamed NS_InitXPCOM2 to NS_InitXPCOM2Ex (the latter to prevent confusion). bugref:10896 ticketref:22193

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/io/nsDirectoryServiceDefs.h

    r1 r109067  
    6767/* This location is similar to NS_OS_CURRENT_PROCESS_DIR, however,
    6868 * NS_XPCOM_CURRENT_PROCESS_DIR can be overriden by passing a "bin
    69  * directory" to NS_InitXPCOM2().
     69 * directory" to NS_InitXPCOM2Ex().
    7070 */
    7171#define NS_XPCOM_CURRENT_PROCESS_DIR            "XCurProcD"
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