From patchwork Fri Nov 14 08:26:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ma Shimiao X-Patchwork-Id: 410727 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 39C771400AB for ; Fri, 14 Nov 2014 19:28:25 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; q=dns; s=default; b=AmTfWGicUEwDJ7rO MKv07R0qrNmsNzghZT11f93XuTHUtdBuAniWePQEQAYvzYrl8khhY7PW554ICX9p rh8YXa0NFyXES++e0kwlXzZJwAK6bHma0s/eBXUZQS+4r0YNCaK0ewjagcfscebK 5cqEfj5j6qjLFxUgJzyfAp58NKI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; s=default; bh=QxBgU7dhDXhTG7p5VsT6g1 kqNUo=; b=DiOknQ/G30+6BfBIFRcvfr6HqeVClgCfW1NqpCXNhhR40WM6DvK9kW 2nWnsHsT5vz+aE04NepWZk8u4a0lmTYAsHXNQhw07HhVnwYbvUHi8EAL1Uqz/W0a mAg3oQfpdi+vZDeCoMGBNTQM6h1nFLIKtZ4rTf8eLCWdj7YVrFJcU= Received: (qmail 26580 invoked by alias); 14 Nov 2014 08:28:20 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 26571 invoked by uid 89); 14 Nov 2014 08:28:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: heian.cn.fujitsu.com From: Ma Shimiao To: CC: , Ma Shimiao Subject: [PATCH] manual/sysinfo.texi: Fix addmntent's annotation as MT-Safe Date: Fri, 14 Nov 2014 16:26:41 +0800 Message-ID: <1415953601-5254-1-git-send-email-mashimiao.fnst@cn.fujitsu.com> MIME-Version: 1.0 According to the description of race in manual, function addmntent should be marked as MT-Safe race:stream. --- manual/sysinfo.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi index 1c9f51b..e6c44d6 100644 --- a/manual/sysinfo.texi +++ b/manual/sysinfo.texi @@ -790,7 +790,7 @@ end of file reached, @comment mntent.h @comment BSD @deftypefun int addmntent (FILE *@var{stream}, const struct mntent *@var{mnt}) -@safety{@prelim{}@mtunsafe{@mtasurace{:stream} @mtslocale{}}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}} +@safety{@prelim{}@mtsafe{@mtsrace{:stream} @mtslocale{}}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}} @c addmntent @mtasurace:stream @mtslocale @asucorrupt @acucorrupt @c fseek dup @asucorrupt @acucorrupt [no @aculock] @c encode_name ok