ruby/ruby — pull request #720 by clantant (2014-09-16 21:11:48+00:00)
Title: (Feature #10090) Fix setproctitle bug on AIX

This commit removes the line argv[1] = NULL; This is to ensure that the
ps command performs correctly on operating systems that take the process
title from memory, such as AIX or Solaris. Before this fix it would stop
writing the process title when it encountered the NULL pointer that
argv[x] is getting assigned to. If a different argument is set to NULL
besides 1 it truncates after that argument. This fix allows for the
entire argument to be written to process title since the logic is in
place to account for varying lengths of arguments.