Hi! 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, ...)? -- WBR, xrgtn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]