freebsd-dev/share
Eric van Gyzen ff07dd913e thr_set_name(): silently truncate the given name as needed
Instead of failing with ENAMETOOLONG, which is swallowed by
pthread_set_name_np() anyway, truncate the given name to MAXCOMLEN+1
bytes.  This is more likely what the user wants, and saves the
caller from truncating it before the call (which was the only
recourse).

Polish pthread_set_name_np(3) and add a .Xr to thr_set_name(2)
so the user might find the documentation for this behavior.

Reviewed by:	jilles
MFC after:	3 days
Sponsored by:	Dell EMC
2016-12-03 01:14:21 +00:00
..
colldef Add the forgotten "svn mv" from r302329 2016-07-03 19:31:21 +00:00
ctypedef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
dict
doc Remove reference to RCS from PSD titles 2016-10-22 23:09:06 +00:00
dtrace Remove redefinitions of some kernel types from mbuf.d. 2016-09-03 20:43:59 +00:00
examples Attempt to make the parts that people are supposed to change stand out more 2016-11-13 17:28:32 +00:00
i18n Fix building on read-only source trees. 2016-08-22 22:50:58 +00:00
keys
man thr_set_name(): silently truncate the given name as needed 2016-12-03 01:14:21 +00:00
me
misc - Add myself (misha) as a ports committer 2016-11-23 14:15:51 +00:00
mk Revert r309314, which breaks installing ports. 2016-11-30 22:00:25 +00:00
monetdef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
msgdef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
numericdef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
security
sendmail Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
skel
snmp
syscons DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
tabset
termcap
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
timedef Suffix short month names with "월" and replace %b with %_m for date formats. 2016-09-07 23:35:38 +00:00
vt Remove uudecode make rule for vt fonts 2016-02-29 18:35:16 +00:00
zoneinfo When you select make OLDTIMEZONES=1 then you need a few added directories 2016-11-15 06:37:44 +00:00
Makefile Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
Makefile.inc