From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B1E70138247 for ; Sat, 18 Jan 2014 20:23:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AFDDE0944; Sat, 18 Jan 2014 20:23:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE658E0944 for ; Sat, 18 Jan 2014 20:23:11 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA1ED33F831 for ; Sat, 18 Jan 2014 20:23:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 0F07318096 for ; Sat, 18 Jan 2014 20:23:09 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1390076611.92581e2d8defc9e33897bbd12eb60dead0612095.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: misc/install.wrapper.c/ X-VCS-Repository: proj/elfix X-VCS-Files: misc/install.wrapper.c/install.wrapper.c X-VCS-Directories: misc/install.wrapper.c/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 92581e2d8defc9e33897bbd12eb60dead0612095 X-VCS-Branch: master Date: Sat, 18 Jan 2014 20:23:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 18a5d942-3971-49dc-bd85-4c6e9aacd624 X-Archives-Hash: 2fd885a41113809f07412dd1cdd8b7da commit: 92581e2d8defc9e33897bbd12eb60dead0612095 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Jan 18 20:23:31 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Jan 18 20:23:31 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=92581e2d misc/install.wrapper.c: remove probably unnecessary memset --- misc/install.wrapper.c/install.wrapper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/install.wrapper.c/install.wrapper.c b/misc/install.wrapper.c/install.wrapper.c index de15f8e..4925e32 100644 --- a/misc/install.wrapper.c/install.wrapper.c +++ b/misc/install.wrapper.c/install.wrapper.c @@ -109,7 +109,6 @@ copyxattr(const char *source, const char *target) xsize = xgetxattr(source, &lxattr[i-1], 0, 0); if (xsize > 0) { value = xmalloc(xsize); - memset(value, 0, xsize); xgetxattr(source, &lxattr[i-1], value, xsize); xsetxattr(target, &lxattr[i-1], value, xsize); free(value);