Ticket #13199: boost_process_execvpe.patch
File boost_process_execvpe.patch, 651 bytes (added by , 5 years ago) |
---|
-
executor.
old new 22 22 #include <errno.h> 23 23 #include <unistd.h> 24 24 25 #if ! defined(__GLIBC__)25 #if !(__GLIBC__ >=2 && __GLIBC_MINOR__ >= 11) 26 26 #include <boost/algorithm/string/predicate.hpp> 27 27 #include <boost/algorithm/string/split.hpp> 28 28 #include <boost/algorithm/string/classification.hpp> … … 32 32 33 33 inline int execvpe(const char* filename, char * const arg_list[], char* env[]) 34 34 { 35 #if defined(__GLIBC__)35 #if __GLIBC__ >=2 && __GLIBC_MINOR__ >= 11 36 36 return ::execvpe(filename, arg_list, env); 37 37 #else 38 38 //use my own implementation