Home GnuPG
Diffusion GPGME 2f304957f512

Fix Solaris problems with ttyname_r.
2f304957f512Unpublished

Unpublished Commit · Learn More

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

Description

Fix Solaris problems with ttyname_r.

* m4/gnupg-ttyname.m4: New.  Based on ttyname_r from gnulib.
* src/ttyname_r.c (_gpgme_ttyname_r): Rename from ttyname_r.
Implement hacks required for Solaris and possible other non-fully
Posix systems.
* src/util.h: Include unistd.h.  Redefine ttyname_r depending on
REPLACE_TTYNAME_R and put it into the gpgme name space.

Unfortunately we cant not use the ttyname_r replacement from gnulib
because we want to keep GPGME LGPLv2+.

Details

Provenance
wernerAuthored on Jan 19 2012, 6:43 PM
Parents
rMc96778297f54: Try to make configure.ac a bit smaller.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM2f304957f512: Fix Solaris problems with ttyname_r. (authored by Werner Koch <wk@gnupg.org>).Jan 19 2012, 6:43 PM