bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getpass: use of termios.h problematic


From: Simon Josefsson
Subject: getpass: use of termios.h problematic
Date: Mon, 22 Aug 2005 20:44:16 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Some people are reporting that the getpass module used by GnuTLS
doesn't build on Mingw32.  The problem is a missing termios.h, and
presumably also missing tcgetattr/tcsetattr functions.

Further, lib/getpass.c look quite unreadable.  Even the code in glibc
look much friendlier.

I propose to adopt the current glibc code, and #if HAVE_TERMIOS_H and
#if TCGETATTR protect it.  If there are no objections, I'll propose a
patch within a few days.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]