This patch enables querying and setting the process title on AIX. libuv takes ownership of the memory for argv and returns a deep copy of the array and its contents. It also enables the process_title test case. The process title can be changed on AIX but is handled differently to Linux/Mac. Commands like ps read the original argv array passed to the process instead of the memory at argv[0]. To change the process title we need to update argv[0] to point at a new string and set argv[1] to NULL (if it exists). This means the process title can be set to a string of any length. PR-URL: https://github.com/libuv/libuv/pull/1187 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| make.bat | ||
| Makefile | ||