Home GnuPG
Diffusion GnuPG 1a9c8d78ece2

agent: Streamline the supervised mode code.
1a9c8d78ece2Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Streamline the supervised mode code.

* agent/gpg-agent.c (get_socket_path): Rename to ...
(get_socket_name): this.  This is to comply with the GNU coding guide.
Use xtrymalloc instead of malloc.  Do not build for W32.
(map_supervised_sockets): Use strtokenize and set the the socket names
here.
(main): Adjust for above change.  Do not close the socket.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 4 2016, 5:02 PM
Parents
rGafcfae7959f3: agent: Adjust cleanup for supervised mode. Fix for W32.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG1a9c8d78ece2: agent: Streamline the supervised mode code. (authored by Werner Koch <wk@gnupg.org>).Oct 4 2016, 5:11 PM