[PATCH] manual/sysinfo.texi: Fix addmntent's annotation as MT-Safe
Ma Shimiao
mashimiao.fnst@cn.fujitsu.com
Fri Nov 14 08:28:00 GMT 2014
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
More information about the Libc-alpha
mailing list