From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2342 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 0.9.8 released Date: Tue, 27 Nov 2012 12:31:02 +0100 Message-ID: <20121127113102.GG10895@port70.net> References: <20121127024958.GA23123@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0eh6TmSyL6TZE2Uz" X-Trace: ger.gmane.org 1354015878 28429 80.91.229.3 (27 Nov 2012 11:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2012 11:31:18 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2343-gllmg-musl=m.gmane.org@lists.openwall.com Tue Nov 27 12:31:30 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TdJNx-0006xK-4d for gllmg-musl@plane.gmane.org; Tue, 27 Nov 2012 12:31:29 +0100 Original-Received: (qmail 11904 invoked by uid 550); 27 Nov 2012 11:31:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 11896 invoked from network); 27 Nov 2012 11:31:16 -0000 Content-Disposition: inline In-Reply-To: <20121127024958.GA23123@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2342 Archived-At: --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Rich Felker [2012-11-26 21:49:58 -0500]: > As a post-release agenda, I'd like to first address things that have > been in demand lately: > > - Proper MIPS softfloat support > - x32 port > - ether.h interfaces > - %m modifier for scanf > - Affinity/cpuset stuff > > And I have a few agenda items of my own: > > - Self-synchronized destruction of FILE streams (same issue all > synchronization objects have had with self-synchronized > destruction -- unlocking thread may not access memory after the > destroying thread already got the lock). > - Making stdio functions cancellable while waiting for locks. > - Getting strace & gdb working properly with minimal patching. > + more math fixes :) i found minor restrict qualifier issues in some of the new interfaces --0eh6TmSyL6TZE2Uz Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="restrict.diff" diff --git a/include/spawn.h b/include/spawn.h index 92b77f7..29c799e 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -57,8 +57,8 @@ int posix_spawnattr_getsigdefault(const posix_spawnattr_t *__restrict, sigset_t int posix_spawnattr_setschedparam(posix_spawnattr_t *__restrict, const struct sched_param *__restrict); int posix_spawnattr_getschedparam(const posix_spawnattr_t *__restrict, struct sched_param *__restrict); -int posix_spawnattr_setschedpolicy(posix_spawnattr_t *__restrict, int); -int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *__restrict, int *); +int posix_spawnattr_setschedpolicy(posix_spawnattr_t *, int); +int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *__restrict, int *__restrict); int posix_spawn_file_actions_init(posix_spawn_file_actions_t *); int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *); diff --git a/src/thread/pthread_attr_get.c b/src/thread/pthread_attr_get.c index e4650e4..ad913c5 100644 --- a/src/thread/pthread_attr_get.c +++ b/src/thread/pthread_attr_get.c @@ -11,7 +11,7 @@ int pthread_attr_getguardsize(const pthread_attr_t *restrict a, size_t *restrict return 0; } -int pthread_attr_getinheritsched(const pthread_attr_t *a, int *inherit) +int pthread_attr_getinheritsched(const pthread_attr_t *restrict a, int *restrict inherit) { *inherit = a->_a_sched; return 0; @@ -23,7 +23,7 @@ int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_pa return 0; } -int pthread_attr_getschedpolicy(const pthread_attr_t *a, int *policy) +int pthread_attr_getschedpolicy(const pthread_attr_t *restrict a, int *restrict policy) { *policy = a->_a_policy; return 0; --0eh6TmSyL6TZE2Uz--