Home GnuPG

core: Clean up command line extraction.

Description

core: Clean up command line extraction.

* pinentry/pinentry.c (get_cmdline): Avoid trailing space, and return
NULL when no bytes were read from /proc.
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Feb 5 2017, 5:11 AM
Parents
rPd7c54372512f: tty: correct comments
Branches
Unknown
Tags
Unknown