Bugzilla – Attachment 190723 Details for
Bug 351338
Terminating last Xclient crashes Xvnc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
display.c
display.c (text/plain), 446 bytes, created by
Stefan Dirsch
on 2008-01-16 15:38:00 UTC
(
hide
)
Description:
display.c
Filename:
MIME Type:
Creator:
Stefan Dirsch
Created:
2008-01-16 15:38:00 UTC
Size:
446 bytes
patch
obsolete
>/* > * gcc -Wall -o display display.c -L/usr/X11R6/lib -lX11 > */ > >#include <stdio.h> >#include <stdlib.h> >#include <unistd.h> >#include <X11/Xlib.h> > >int main (void) >{ > char *display_name; > Display *d; > > display_name=getenv("DISPLAY"); > d = XOpenDisplay(display_name); > > if (d == NULL) { > printf("Unable to open Display: %s\n", display_name); > exit(1); > } > > while(1) > sleep(10); > > XCloseDisplay(d); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 351338
:
189137
|
190718
|
190723