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

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Fri Aug 20 20:27:35 UTC 2010


Author: nekral-guest
Date: 2010-08-20 20:27:34 +0000 (Fri, 20 Aug 2010)
New Revision: 3220

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/remove_tree.c
Log:
	* libmisc/remove_tree.c: Ignore snprintf return value.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-08-20 20:26:32 UTC (rev 3219)
+++ upstream/trunk/ChangeLog	2010-08-20 20:27:34 UTC (rev 3220)
@@ -1,5 +1,9 @@
 2010-08-20  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* libmisc/remove_tree.c: Ignore snprintf return value.
+
+2010-08-20  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
 	not change the members of the list they receive. Added const
 	qualifiers.

Modified: upstream/trunk/libmisc/remove_tree.c
===================================================================
--- upstream/trunk/libmisc/remove_tree.c	2010-08-20 20:26:32 UTC (rev 3219)
+++ upstream/trunk/libmisc/remove_tree.c	2010-08-20 20:27:34 UTC (rev 3220)
@@ -96,7 +96,7 @@
 			err = -1;
 			break;
 		}
-		snprintf (new_name, new_len, "%s/%s", root, ent->d_name);
+		(void) snprintf (new_name, new_len, "%s/%s", root, ent->d_name);
 		if (LSTAT (new_name, &sb) == -1) {
 			continue;
 		}




More information about the Pkg-shadow-commits mailing list