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 2ADD9138668 for ; Thu, 24 Jan 2013 23:56:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C900621C00F; Thu, 24 Jan 2013 23:56:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55DCE21C00F for ; Thu, 24 Jan 2013 23:56:03 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53F6333DAB3 for ; Thu, 24 Jan 2013 23:56:02 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2273) id 767D32171D; Thu, 24 Jan 2013 23:56:00 +0000 (UTC) From: "Anthony G. Basile (blueness)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, blueness@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/eudev/files: eudev-fix-typo-util.c.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: eudev-fix-typo-util.c.patch X-VCS-Directories: sys-fs/eudev/files X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130124235600.767D32171D@flycatcher.gentoo.org> Date: Thu, 24 Jan 2013 23:56:00 +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: 6ef6e30e-3143-4fc4-b2f6-016c61e412ea X-Archives-Hash: 313be5fd3d7177f131ca6a1ba659e9ec blueness 13/01/24 23:56:00 Added: eudev-fix-typo-util.c.patch Log: Fix typo that could break uclibc (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) Revision Changes Path 1.1 sys-fs/eudev/files/eudev-fix-typo-util.c.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/eudev/files/eudev-fix-typo-util.c.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/eudev/files/eudev-fix-typo-util.c.patch?rev=1.1&content-type=text/plain Index: eudev-fix-typo-util.c.patch =================================================================== >From 82f60023e3d4b33624c85a149915b411b504e426 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Wed, 23 Jan 2013 20:16:57 -0500 Subject: [PATCH] src/libudev/util.c: fix typo introduce at commit 1ebf647 The first argument of fcntl should be 'fd', the file descriptor. Signed-off-by: Anthony G. Basile --- src/libudev/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libudev/util.c b/src/libudev/util.c index 1d57a01..d3982b9 100644 --- a/src/libudev/util.c +++ b/src/libudev/util.c @@ -4586,7 +4586,7 @@ int fopen_temporary(const char *path, FILE **_f, char **_temp_path) { fd = mkostemp(t, O_WRONLY|O_CLOEXEC); #else fd = mkstemp(t); - fcntl(t, F_SETFD, FD_CLOEXEC); + fcntl(fd, F_SETFD, FD_CLOEXEC); #endif if (fd < 0) { free(t); -- 1.7.12.4