chiark / gitweb /
process-util: update the end pointer of the process name on rename (#6492)
authorJouke Witteveen <j.witteveen@gmail.com>
Wed, 2 Aug 2017 15:08:31 +0000 (17:08 +0200)
committerSven Eden <yamakuzure@gmx.net>
Thu, 10 Aug 2017 08:29:07 +0000 (10:29 +0200)
commitcb0d6ede417950afbec0beb4c1ea4c264b90d523
tree711aeff3c130da05194a5262e092d551a9ef50ba
parent66a6bbdc6f8a94eb8e4b81a2f7f6e38ee5d7321a
process-util: update the end pointer of the process name on rename (#6492)

We only updated the end pointer when allocating new memory, i.e. on the first
call to rename_process.
src/basic/process-util.c