From nobody Sun Feb 8 22:50:30 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1573650486; cv=none; d=zoho.com; s=zohoarc; b=EUTzfaR4uTR4kaub3+iHAS0sg1Sde+MXYNZQwpVrLpwf3rmgtR0RRpbM7Og6WUL6SbL21RIrVo9NHeewCC/hcE7VgBdRzUomNAOSTTW4eX/CMpw4IU9hcgbIpaoGD4xzJxi9z3nvvssf7JJVP9DcQIuiEvf7HVJn5xT6aIdSRvw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573650486; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7ZfPnZVG0yqY7wEmSeyFUBbf2DoIkMaQEdngKnsstYw=; b=CbFykc5ffkw08UjbzDNgrIC67plFtpoKR5MufOWq30OhIqIBHGEDHytbFHNx5xpy2uj2zGKcAyo9zo/cjYqhi9UtuxFRNjiJ1jvHPttOgLiE6/nT2CFmlHoevvOMahELnd+5PE1+53Rjci26TAtH4Lh5NFHS7FBP1p7WFlFZOMA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1573650485996958.5624183175472; Wed, 13 Nov 2019 05:08:05 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-103-9RiEGFQvO3iywe3zF8Ln2w-1; Wed, 13 Nov 2019 08:07:45 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8D2B68048EC; Wed, 13 Nov 2019 13:07:39 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 677AD60472; Wed, 13 Nov 2019 13:07:39 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 244F51832DE7; Wed, 13 Nov 2019 13:07:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xADD7Jvi007120 for ; Wed, 13 Nov 2019 08:07:19 -0500 Received: by smtp.corp.redhat.com (Postfix) id EAB5E61075; Wed, 13 Nov 2019 13:07:19 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7520A60BE0 for ; Wed, 13 Nov 2019 13:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573650484; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=7ZfPnZVG0yqY7wEmSeyFUBbf2DoIkMaQEdngKnsstYw=; b=YxNtmMV3TNC/qN3rgB5fm2JDVqnLe/ZvE95f3UrvGvU63GFl7KWlaAYIa15BvU8I6ZfzgL m81DNhrJ79CtWjKQldmLtxjkNOCJJf7oggtAp5yOr3T1CGAjMFQOwvLc7tNT5hcwmXd9AW 9D+yFBoCD7reF0oS+59REWOBRQBcFiA= From: Peter Krempa To: libvir-list@redhat.com Date: Wed, 13 Nov 2019 14:07:09 +0100 Message-Id: <7d8bd59a428e23adbf6b65691f2ebb6ae4559c4b.1573649216.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 8/8] util: pidfile: Replace 'areadlink' by 'g_file_read_link' X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: 9RiEGFQvO3iywe3zF8Ln2w-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Use the glib function rather than gnulib. Signed-off-by: Peter Krempa --- src/util/virpidfile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/virpidfile.c b/src/util/virpidfile.c index 4a800b6528..5d1a820cd1 100644 --- a/src/util/virpidfile.c +++ b/src/util/virpidfile.c @@ -35,7 +35,6 @@ #include "virlog.h" #include "virerror.h" #include "c-ctype.h" -#include "areadlink.h" #include "virstring.h" #include "virprocess.h" @@ -247,7 +246,7 @@ int virPidFileReadPathIfAlive(const char *path, * "$procpath (deleted)". Read that link, remove the " (deleted)" * part, and see if it has the same canonicalized name as binpath. */ - if (!(procLink =3D areadlink(procPath))) + if (!(procLink =3D g_file_read_link(procPath, NULL))) return -1; procLinkLen =3D strlen(procLink); --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list