[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] getpass echoes on many systems
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] getpass echoes on many systems |
Date: |
01 Oct 2003 17:33:21 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
address@hidden (Larry Jones) writes:
> The interaction between a stream and its underlying file descriptor is a
> different issue. As I read the relevant section of POSIX, the existing
> code is OK because tcsetattr doesn't affect the file offset.
OK, thanks for the info.
The patch that was actually installed is slightly different from what
you proposed. It includes <fcntl.h> unconditionally, and doesn't
define SEEK_CUR even if the include files define it. The latter
change is arguably OK, as we're assuming C89 more and more. But do we
really need to include <fcntl.h> here?
There are a few other issues with gnulib getpass.c. The "if (in !=
stdin)" should be "if (in == out)". And it should be merged with
glibc getpass.c. I'll add this to my list of things to look into.
- Re: [Bug-gnulib] getpass echoes on many systems, Bruno Haible, 2003/10/01
- Re: [Bug-gnulib] getpass echoes on many systems, Paul Eggert, 2003/10/01
- Re: [Bug-gnulib] getpass echoes on many systems, Larry Jones, 2003/10/01
- Re: [Bug-gnulib] getpass echoes on many systems,
Paul Eggert <=
- Re: [Bug-gnulib] getpass echoes on many systems, Larry Jones, 2003/10/01
- Re: [Bug-gnulib] getpass echoes on many systems, Paul Eggert, 2003/10/02
- Re: [Bug-gnulib] getpass echoes on many systems, Larry Jones, 2003/10/02
- Re: [Bug-gnulib] getpass echoes on many systems, Bruno Haible, 2003/10/02
- Re: [Bug-gnulib] getpass echoes on many systems, Larry Jones, 2003/10/02
- Re: [Bug-gnulib] getpass echoes on many systems, Bruno Haible, 2003/10/02
- Re: [Bug-gnulib] getpass echoes on many systems, Larry Jones, 2003/10/02
- Re: [Bug-gnulib] getpass echoes on many systems, Paul Eggert, 2003/10/02