VirtualBox

Changeset 77265 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Feb 11, 2019 3:47:23 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128773
Message:

VBoxClient/vmsvga-x11: test for uname(2) being -1 on failure, not just non-null.
ticketref:18428: VBoxClient --vm-svga fails with "Failed to get kernel name" on Solaris guests
On Linux, uname returns -1 on failure and zero on success. On Solaris it
returns -1 and zero or greater. So testing it to be non-zero is not valid
for detecting failure. This change fixes that.

File:
1 edited

Legend:

Unmodified
Added
Removed
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