OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553fae3
)
ldd does not build due to missing fork() on MMUless. Since ldd merely
author
Eric Andersen
<andersen@codepoet.org>
Wed, 5 Oct 2005 21:44:56 +0000
(21:44 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 5 Oct 2005 21:44:56 +0000
(21:44 -0000)
does a fork/exec, fork() can be trivially replaced with vfork()
utils/ldd.c
patch
|
blob
|
history
diff --git
a/utils/ldd.c
b/utils/ldd.c
index
5145180
..
a857127
100644
(file)
--- a/
utils/ldd.c
+++ b/
utils/ldd.c
@@
-727,7
+727,7
@@
foo:
NULL
};
- if ((pid = fork()) == 0) {
+ if ((pid =
v
fork()) == 0) {
/* Cool, it looks like we should be able to actually
* run this puppy. Do so now... */
execle(filename, filename, NULL, environment);