projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aefabe
)
1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 20 Jul 1999 21:04:41 +0000
(21:04 +0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 20 Jul 1999 21:04:41 +0000
(21:04 +0000)
* hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
descriptor table sent in the RPC.
hurd/hurdexec.c
patch
|
blob
|
history
diff --git
a/hurd/hurdexec.c
b/hurd/hurdexec.c
index
18ad9ef
..
30a27e8
100644
(file)
--- a/
hurd/hurdexec.c
+++ b/
hurd/hurdexec.c
@@
-186,6
+186,10
@@
_hurd_exec (task_t task, file_t file,
dtable_cells = NULL;
}
+ /* Prune trailing null ports from the descriptor table. */
+ while (dtable[dtablesize - 1] == MACH_PORT_NULL)
+ --dtablesize;
+
/* The information is all set up now. Try to exec the file. */
{