# # patch "ChangeLog" # from [cf8cf862df378f3fe18bed9aaa87310209f062da] # to [3f56bee3492893b205f0d099a61b0ecf6fb5c702] # # patch "unix/process.cc" # from [cb32d49fc96801972818bd14b8a9badd1d0d3d91] # to [ac04438936f36fcf7a9eaeaffb60abd9f4dfe5d5] # --- ChangeLog +++ ChangeLog @@ -1,5 +1,9 @@ 2005-06-24 Nathaniel Smith + * unix/process.cc (process_spawn): Format log output correctly. + +2005-06-24 Nathaniel Smith + * unix/process.cc (existsonpath): Reindent. Add logging, and use 'command -v' instead of 'which' (as per Matt Johnston's discovery that it is more portable). --- unix/process.cc +++ unix/process.cc @@ -69,7 +69,7 @@ std::ostringstream cmdline_ss; for (const char *const *i = argv; *i; ++i) { - if (i) + if (i != argv) cmdline_ss << ", "; cmdline_ss << "'" << *i << "'"; }