VirtualBox

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#7222 closed defect (fixed)

XCloseDisplay() is not always called in check_mesa() -> fixed in SVN

Reported by: Markus Elfring Owned by:
Component: other Version: VirtualBox 3.2.6
Keywords: check, clean-up Cc:
Guest type: other Host type: other

Description

The function "check_mesa" tries to build a little program. The function "XCloseDisplay" will not be called there if a function call "glXQueryVersion" will succeed.

Is a corresponding call recommended that fits to the "XOpenDisplay"?

Change History (2)

comment:1 by Michael Thayer, 14 years ago

Resolution: fixed
Status: newclosed
Summary: XCloseDisplay() is not always called in check_mesa().XCloseDisplay() is not always called in check_mesa() -> fixed in SVN

It is recommended, although not necessary in this case. To quote the manual page:

Before exiting, you should call XCloseDisplay() explicitly so that any pending errors are reported as XCloseDisplay() performs a final XSync() operation.

In this case no functions have been called for which there might be pending errors.

This is now fixed. But do you really have nothing better to do than opening bug reports for trivial issues in our configuration script?

comment:2 by Markus Elfring, 14 years ago

Thanks for your software update.

I'm also interested in little improvements for configuration scripts. ;-)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use