ALT Linux Bugzilla
– Attachment 2298 Details for
Bug 13566
Xorg freezes when running OpenOffice.org
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для устранения зависаний xorg при входе в меню OpenOffice.org
xserver-1.3.0-xkb-and-loathing.patch (text/plain), 832 bytes, created by
Nikolay A. Fetisov
on 2007-12-01 12:17:16 MSK
(
hide
)
Description:
Патч для устранения зависаний xorg при входе в меню OpenOffice.org
Filename:
MIME Type:
Creator:
Nikolay A. Fetisov
Created:
2007-12-01 12:17:16 MSK
Size:
832 bytes
patch
obsolete
>--- xorg-server-1.3.0.0/os/utils.c.jx 2007-04-25 13:28:05.000000000 -0400 >+++ xorg-server-1.3.0.0/os/utils.c 2007-04-30 14:33:04.000000000 -0400 >@@ -1725,6 +1725,8 @@ > int pid; > } *pidlist; > >+static sighandler_t old_alarm = NULL; /* XXX horrible awful hack */ >+ > pointer > Popen(char *command, char *type) > { >@@ -1746,11 +1748,15 @@ > return NULL; > } > >+ /* Ignore the smart scheduler while this is going on */ >+ old_alarm = signal(SIGALRM, SIG_IGN); >+ > switch (pid = fork()) { > case -1: /* error */ > close(pdes[0]); > close(pdes[1]); > xfree(cur); >+ signal(SIGALRM, old_alarm); > return NULL; > case 0: /* child */ > if (setgid(getgid()) == -1) >@@ -1926,6 +1932,8 @@ > /* allow EINTR again */ > OsReleaseSignals (); > >+ signal(SIGALRM, old_alarm); >+ > return pid == -1 ? -1 : pstat; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13566
: 2298