[Pkg-shadow-commits] r2576 - in upstream/trunk: . libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Mar 21 19:32:14 UTC 2009


Author: nekral-guest
Date: 2009-03-21 19:32:14 +0000 (Sat, 21 Mar 2009)
New Revision: 2576

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/sulog.c
Log:
	* libmisc/sulog.c: Likewise for the su log.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-03-21 19:28:02 UTC (rev 2575)
+++ upstream/trunk/ChangeLog	2009-03-21 19:32:14 UTC (rev 2576)
@@ -6,6 +6,7 @@
 	and mail spool.
 	* src/usermod.c: Likewise for the faillog and lastlog file.
 	* src/vipw.c: Likewise for the backup file.
+	* libmisc/sulog.c: Likewise for the su log.
 
 2009-03-15  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/libmisc/sulog.c
===================================================================
--- upstream/trunk/libmisc/sulog.c	2009-03-21 19:28:02 UTC (rev 2575)
+++ upstream/trunk/libmisc/sulog.c	2009-03-21 19:32:14 UTC (rev 2576)
@@ -97,6 +97,7 @@
 		 success ? '+' : '-', tty, oldname, name);
 
 	(void) fflush (fp);
+	fsync (fileno (fp));
 	fclose (fp);
 	/* TODO: log if failure */
 }




More information about the Pkg-shadow-commits mailing list