This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] manual/sysinfo.texi: Fix addmntent's annotation as MT-Safe
- From: Ma Shimiao <mashimiao dot fnst at cn dot fujitsu dot com>
- To: <libc-alpha at sourceware dot org>
- Cc: <aoliva at redhat dot com>, Ma Shimiao <mashimiao dot fnst at cn dot fujitsu dot com>
- Date: Fri, 14 Nov 2014 16:26:41 +0800
- Subject: [PATCH] manual/sysinfo.texi: Fix addmntent's annotation as MT-Safe
- Authentication-results: sourceware.org; auth=none
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