Fixed the weird behavior of qstat when code was switched to the g++ compiler.
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0
TRQ-1613. Prevent environment variables from leaking due to incorrectly modifying the environment.
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0
TRQ-1597. Job array jobs were not getting the ji_commit_done flag
set so queue_route could not route the jobs. Also fixed
a deadlock in queue_route for jobs with the ji_commit_done
flag set to false. We were doing a continue on these jobs
without unlocking them.
Had to split the change that I made earlier into the client and the server so that on the server side, the SO_REUSEADDR option is used but not on the client side because it's problem as described in trq-1425.
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0
Fixed one more problem found in regression test...one more place where we need to use SO_REUSEADDR option otherwise, priv. ports would get filled up.
Fix an error in passing mppdepth= in the ALPS request. It should be depth=
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0
Fix for the strange behavior seeing with sockets when switched to g++, reported in TRQ-1425.
Previous to this fix a single job array would not route
to multiple queues  if max queuable limits were set
on a queue. TRQ-1597
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into actorquedeveloper-4.2.0

Conflicts:
	src/server/job_route.c