Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
gpg2
gnupg-2.0.4-default-tty.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnupg-2.0.4-default-tty.diff of Package gpg2
# sets default tty to /dev/tty --- common/asshelp.c +++ common/asshelp.c @@ -95,6 +95,8 @@ dft_ttyname = getenv ("GPG_TTY"); if ((!dft_ttyname || !*dft_ttyname) && ttyname (0)) dft_ttyname = ttyname (0); + if (!dft_ttyname) + dft_ttyname = "/dev/tty"; } if (opt_ttyname || dft_ttyname) { --- common/simple-pwquery.c +++ common/simple-pwquery.c @@ -222,6 +222,8 @@ #ifndef HAVE_W32_SYSTEM if ((!dft_ttyname || !*dft_ttyname) && ttyname (0)) dft_ttyname = ttyname (0); + if (!dft_ttyname) + dft_ttyname = "/dev/tty"; #endif if (dft_ttyname && *dft_ttyname) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor