Make a copy of the --user value and only mess with that when splitting user and group.
authorFabian Keil <fk@fabiankeil.de>
Tue, 26 Apr 2011 16:53:21 +0000 (16:53 +0000)
committerFabian Keil <fk@fabiankeil.de>
Tue, 26 Apr 2011 16:53:21 +0000 (16:53 +0000)
commit9f1e2b96ab875f6ab2b9ffb54ce43fd385739dc7
treedd78bfb336a680bb5279358955cf562c69be0369
parent94ed40a9af70de3f153558ef5aadff9928f5c762
Make a copy of the --user value and only mess with that when splitting user and group.

On some operating systems modifying the value directly
is reflected in the output of ps and friends and can
be misleading.

While at it, use a pointer name that gives a hint
what the pointer is actually supposed to point to.

Fixes #3292710 reported by zepard.
jcc.c