mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
76fc4757ac
Mon Nov 4 17:08:47 UTC 2013 Slackware 14.1 x86_64 stable is released! It's been another interesting release cycle here at Slackware bringing new features like support for UEFI machines, updated compilers and development tools, the switch from MySQL to MariaDB, and many more improvements throughout the system. Thanks to the team, the upstream developers, the dedicated Slackware community, and everyone else who pitched in to help make this release a reality. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Have fun! :-)
30 lines
960 B
Diff
30 lines
960 B
Diff
Submitted By: Alexander E. Patrakov
|
|
Date: 2006-02-10
|
|
Initial Package Version: 1.20.1
|
|
Upstream Status: Dead
|
|
Origin: Alexander E. Patrakov
|
|
Description: Fixes lockups when signals arrive.
|
|
Details: the return value of -1 from select() that propagates into flag means
|
|
that it was interrupted by a signal. In this case, at least with glibc
|
|
from trunk (2.3.90), the return value from FD_ISSET is undefined. Thus,
|
|
GET(win) can be called when there's no actual input. This results in the
|
|
lockup until a key is pressed.
|
|
|
|
--- gpm-1.20.1/src/lib/libcurses.c 2002-12-25 03:57:16.000000000 +0500
|
|
+++ gpm-1.20.1/src/lib/libcurses.c 2006-02-10 09:45:11.000000000 +0500
|
|
@@ -71,12 +71,12 @@
|
|
}
|
|
while (!flag);
|
|
|
|
- if (FD_ISSET(fd,&selSet))
|
|
- return GET(win);
|
|
-
|
|
if (flag==-1)
|
|
continue;
|
|
|
|
+ if (FD_ISSET(fd,&selSet))
|
|
+ return GET(win);
|
|
+
|
|
if (Gpm_GetEvent(&ev) && gpm_handler
|
|
&& (result=(*gpm_handler)(&ev,gpm_data)))
|
|
{
|