job.c (construct_command_argv_internal): Don't assume shellflags
commit6f3684710a0f832533191f8657a57bc2fbba90ba
authoreliz <eliz>
Sat, 7 May 2011 08:29:13 +0000 (7 08:29 +0000)
committereliz <eliz>
Sat, 7 May 2011 08:29:13 +0000 (7 08:29 +0000)
tree4f2d466e31857d3b06f066bffc3a1c91ccf7c71f
parentb3d5284674bde17e7070132a990f93bc7c202bbc
 job.c (construct_command_argv_internal): Don't assume shellflags
 is always non-NULL.  Escape-protect characters special to the
 shell when copying the value of SHELL into new_line.  Fixes
 Savannah bug #23922.
ChangeLog
job.c