VirtualBox

Changeset 93386 in vbox for trunk


Ignore:
Timestamp:
Jan 20, 2022 8:46:09 PM (3 years ago)
Author:
vboxsync
Message:

Reverted r149470: Additions: Linux: DRM IPC: define our own LOGIN_NAME_MAX since this constant might be unavailable in some build environments, ​bugref:10185.

This commit is no longer needed since code is not a part of Solaris build anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-ipc.cpp

    r93383 r93386  
    5050#include <unistd.h>
    5151
    52 /** Maximum length of login name in system database. */
    53 #define VBOX_LOGIN_NAME_MAX                     (256)
    54 
    5552/**
    5653 * Calculate size of TX list entry.
     
    240237            while (*pAllowedGroup->gr_mem)
    241238            {
    242                 if (RTStrNCmp(*pAllowedGroup->gr_mem, UserRecord->pw_name, VBOX_LOGIN_NAME_MAX) == 0)
     239                if (RTStrNCmp(*pAllowedGroup->gr_mem, UserRecord->pw_name, LOGIN_NAME_MAX) == 0)
    243240                    return VINF_SUCCESS;
    244241
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