[PATCH] manual/sysinfo.texi: Fix addmntent's annotation as MT-Safe

Alexandre Oliva aoliva@redhat.com
Fri Nov 14 16:57:00 GMT 2014


On Nov 14, 2014, Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> wrote:

> According to the description of race in manual, function addmntent should be
> marked as MT-Safe race:stream.

Thanks for catching this.  We need a ChangeLog entry to go with the
patch, something like:

2014-11-14  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>

	* manual/sysinfo.texi (addmntent): It is actually MT-Safe,
	because the potential race is on the user-supplied stream.

If nobody objects till Monday, I'll check this in on Tuesday along with
the ChangeLog entry above.

Thanks!

> -@safety{@prelim{}@mtunsafe{@mtasurace{:stream} @mtslocale{}}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}}
> +@safety{@prelim{}@mtsafe{@mtsrace{:stream} @mtslocale{}}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}}

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer



More information about the Libc-alpha mailing list