diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-05-15 09:11:01 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-05-15 09:12:07 +0200 |
commit | ca2223f6b74b03d285370a92849af7cdf059ffb2 (patch) | |
tree | 6a704dfb8cb8264b43e114b4e48da9b69301c44a /utils | |
parent | 044843f002f666db3bc06c513ed6291a00ad1225 (diff) |
ldd: tweak whitespace
Tweak whitespace in preprocessor conditionals. No obj-code changes.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ldd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/ldd.c b/utils/ldd.c index a72cd09d0..7ec61a92d 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -704,7 +704,7 @@ foo: "LD_TRACE_LOADED_OBJECTS=1", NULL }; -#ifdef __LDSO_STANDALONE_SUPPORT__ +# ifdef __LDSO_STANDALONE_SUPPORT__ char * lib_path = getenv("LD_LIBRARY_PATH"); /* The 'extended' environment inclusing the LD_LIBRARY_PATH */ @@ -741,21 +741,21 @@ foo: execle(TRUSTED_LDSO, TRUSTED_LDSO, filename, NULL, envp); _exit(0xdead); } -#else +# else if ((pid = vfork()) == 0) { /* Cool, it looks like we should be able to actually * run this puppy. Do so now... */ execle(filename, filename, NULL, environment); _exit(0xdead); } -#endif +# endif /* Wait till it returns */ waitpid(pid, &status, 0); -#ifdef __LDSO_STANDALONE_SUPPORT__ +# ifdef __LDSO_STANDALONE_SUPPORT__ /* Do not leak */ free(lib_path); -#endif +# endif if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { return 1; |