rpms/pam/devel pam-0.79-misc-flush-first.patch, NONE, 1.1 pam.spec, 1.67, 1.68

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Apr 8 15:10:17 UTC 2005


Update of /cvs/dist/rpms/pam/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7033

Modified Files:
	pam.spec 
Added Files:
	pam-0.79-misc-flush-first.patch 
Log Message:
* Fri Apr  8 2005 Tomas Mraz <tmraz at redhat.com> 0.79-4
- #150537 - flush input first then write the prompt


pam-0.79-misc-flush-first.patch:
 misc_conv.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE pam-0.79-misc-flush-first.patch ---
--- Linux-PAM-0.79/libpam_misc/misc_conv.c.flush-first	2004-09-22 14:51:20.000000000 +0200
+++ Linux-PAM-0.79/libpam_misc/misc_conv.c	2005-04-08 14:13:03.696516443 +0200
@@ -170,12 +170,12 @@
 
     /* reading the line */
     while (delay >= 0) {
-
-	fprintf(stderr, "%s", prompt);
 	/* this may, or may not set echo off -- drop pending input */
 	if (have_term)
 	    (void) tcsetattr(STDIN_FILENO, TCSAFLUSH, &term_tmp);
 
+	fprintf(stderr, "%s", prompt);
+
 	if ( delay > 0 && set_alarm(delay, &old_sig) ) {
 	    D(("<failed to set alarm>"));
 	    break;


Index: pam.spec
===================================================================
RCS file: /cvs/dist/rpms/pam/devel/pam.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- pam.spec	7 Apr 2005 18:40:36 -0000	1.67
+++ pam.spec	8 Apr 2005 15:10:15 -0000	1.68
@@ -11,7 +11,7 @@
 Summary: A security tool which provides authentication for applications.
 Name: pam
 Version: 0.79
-Release: 3
+Release: 4
 License: GPL or BSD
 Group: System Environment/Base
 Source0: ftp.us.kernel.org:/pub/linux/libs/pam/pre/library/Linux-PAM-%{version}.tar.bz2
@@ -32,6 +32,7 @@
 Patch70: pam-0.79-tally-null-data.patch
 Patch71: pam-0.79-unix-nis.patch
 Patch72: pam-0.79-unix-lsb.patch
+Patch73: pam-0.79-misc-flush-first.patch
 
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: cracklib, cracklib-dicts >= 2.8, glib2, initscripts >= 3.94
@@ -84,6 +85,7 @@
 %patch70 -p1 -b .null-data
 %patch71 -p1 -b .nis
 %patch72 -p1 -b .lsb
+%patch73 -p1 -b .flush-first
 %endif
 
 for readme in modules/pam_*/README ; do
@@ -352,6 +354,9 @@
 %{_libdir}/libpam_misc.so
 
 %changelog
+* Fri Apr  8 2005 Tomas Mraz <tmraz at redhat.com> 0.79-4
+- #150537 - flush input first then write the prompt
+
 * Thu Apr  7 2005 Tomas Mraz <tmraz at redhat.com> 0.79-3
 - make pam_unix LSB 2.0 compliant even when SELinux enabled
 - #88127 - change both local and NIS passwords to keep them in sync,




More information about the fedora-cvs-commits mailing list