On Wed, Oct 19, 2005 at 02:08:09AM +0300, Alexander Gattin wrote: > On Sun, Oct 16, 2005 at 03:37:57PM -0700, Steve Langasek wrote: > > > > Anyway, this seems to be fixed upstream in Linux-PAM 0.80,
> > > They took "getpass() considered obsolete" message to > > > heart and implemented their own getpass()? :) (shit, I > > > don't like all these re-inventions of wheel...) > > Linux-PAM hasn't used getpass() for years. > Yes, I see this (pre-0.80 version): > 1. fprintf(stderr, "%s", prompt); > 2. tcsetattr(STDIN_FILENO, TCSAFLUSH, ...); > 3. read(STDIN_FILENO, ...); > 4. tcsetattr(STDIN_FILENO, TCSADRAIN, ...); > OK. Even having 2, 1, 3, 4 sequence now, don't you > think it's useful to have fflush(stderr) immediately > after fprintf(stderr, ...)? Sorry, what problem are you trying to solve? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature

