projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57fe54
)
hurd S_msg_report_wait: Fix detecting fd ports
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Mon, 23 Nov 2020 00:25:26 +0000
(
00:25
+0000)
committer
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Mon, 23 Nov 2020 00:25:26 +0000
(
00:25
+0000)
_hurd_init_dtable stays set to non-NULL, so we have to run through both
_hurd_init_dtable and _hurd_dtable.
hurd/report-wait.c
patch
|
blob
|
history
diff --git
a/hurd/report-wait.c
b/hurd/report-wait.c
index
752d0cc
..
eba43c9
100644
(file)
--- a/
hurd/report-wait.c
+++ b/
hurd/report-wait.c
@@
-77,7
+77,7
@@
describe_port (string_t description, mach_port_t port)
if (port == _hurd_init_dtable[i])
return describe_number (description, "fd#", i);
}
-
else
if (_hurd_dtable)
+ if (_hurd_dtable)
{
for (i = 0; i < _hurd_dtablesize; ++i)
if (_hurd_dtable[i] == NULL)