Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 719226 Details for
Bug 798402
ebuild for gawkextlib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gawkextlib-select-timeout.patch
gawkextlib-select-timeout.patch (text/plain), 1.37 KB, created by
hangglider
on 2021-06-25 07:50:03 UTC
(
hide
)
Description:
gawkextlib-select-timeout.patch
Filename:
MIME Type:
Creator:
hangglider
Created:
2021-06-25 07:50:03 UTC
Size:
1.37 KB
patch
obsolete
>diff -ur gawkextlib-1.0.0.orig/select/doc/select.3am gawkextlib-1.0.0/select/doc/select.3am >--- gawkextlib-1.0.0.orig/select/doc/select.3am 2021-06-25 09:15:33.964207814 +0200 >+++ gawkextlib-1.0.0/select/doc/select.3am 2021-06-25 09:22:50.316193786 +0200 >@@ -131,7 +131,7 @@ > since the last call. The index is the signal number, and the value > will be the symbolic signal name (e.g. "INT") if we are able to look it up. > If <timeout> is present and numeric, that is the maximum number of seconds >-to wait. Otherwise, it will block indefinitely. >+to wait. If <timeout> is the string "NULL", it will block indefinitely. > The <readfds>, <writefds>, and <exceptfds> arrays will have the <command> > in the index, and the <command type> as the value. This works the same > way as the set_non_blocking function. If the index value is numeric >diff -ur gawkextlib-1.0.0.orig/select/select.c gawkextlib-1.0.0/select/select.c >--- gawkextlib-1.0.0.orig/select/select.c 2021-06-25 09:15:33.964207814 +0200 >+++ gawkextlib-1.0.0/select/select.c 2021-06-25 09:21:57.720195477 +0200 >@@ -415,6 +415,8 @@ > maxwait.tv_sec = maxwait.tv_usec = 0; > timeout = &maxwait; > } >+ else if (get_argument(3, AWK_STRING, &timeout_arg) && !strcmp(timeout_arg.str_value.str, "NULL")) >+ timeout = NULL; > else if (get_argument(3, AWK_NUMBER, &timeout_arg)) { > double secs = timeout_arg.num_value; > if (secs < 0) {
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 798402
:
718842
|
718875
|
719223
| 719226