From: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
To: <libc-alpha@sourceware.org>
Cc: <aoliva@redhat.com>, Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Subject: [PATCH] manual/sysinfo.texi: Fix addmntent's annotation as MT-Safe
Date: Fri, 14 Nov 2014 08:28:00 -0000 [thread overview]
Message-ID: <1415953601-5254-1-git-send-email-mashimiao.fnst@cn.fujitsu.com> (raw)
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
--
1.8.3.1
next reply other threads:[~2014-11-14 8:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 8:28 Ma Shimiao [this message]
2014-11-14 16:57 ` Alexandre Oliva
2014-11-21 5:02 ` Alexandre Oliva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1415953601-5254-1-git-send-email-mashimiao.fnst@cn.fujitsu.com \
--to=mashimiao.fnst@cn.fujitsu.com \
--cc=aoliva@redhat.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).