projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7b67a
)
Don't hardcode path to true(1).
author
Antoine Jacoutot
<ajacoutot@openbsd.org>
Fri, 27 May 2011 15:39:38 +0000
(17:39 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 27 May 2011 16:00:41 +0000
(12:00 -0400)
true(1) is not always installed under /bin so leave system() find
it in the PATH.
https://bugzilla.gnome.org/show_bug.cgi?id=651219
tests/child-test.c
patch
|
blob
|
history
diff --git
a/tests/child-test.c
b/tests/child-test.c
index b6785728a84a71b85c56966349c69c99aa53918c..a6e307dfa7ed366d8a5940da3d90169c7a738936 100644
(file)
--- a/
tests/child-test.c
+++ b/
tests/child-test.c
@@
-175,7
+175,7
@@
main (int argc, char *argv[])
#ifdef G_OS_WIN32
system ("ipconfig /all");
#else
- system ("
/bin/
true");
+ system ("true");
#endif
alive = 2;