From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: musl 0.9.8 released
Date: Tue, 27 Nov 2012 12:31:02 +0100 [thread overview]
Message-ID: <20121127113102.GG10895@port70.net> (raw)
In-Reply-To: <20121127024958.GA23123@brightrain.aerifal.cx>
[-- Attachment #1: Type: text/plain, Size: 797 bytes --]
* Rich Felker <dalias@aerifal.cx> [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
[-- Attachment #2: restrict.diff --]
[-- Type: text/x-diff, Size: 1691 bytes --]
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;
next prev parent reply other threads:[~2012-11-27 11:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 2:49 Rich Felker
2012-11-27 11:31 ` Szabolcs Nagy [this message]
2012-11-27 14:46 ` Rich Felker
2012-11-28 2:43 ` Isaac Dunham
2012-11-28 3:39 ` Rich Felker
2012-11-28 4:51 ` Isaac Dunham
2012-11-28 13:05 ` Rich Felker
2012-11-28 21:35 ` Rob Landley
2012-11-28 23:53 ` Rich Felker
2012-11-29 0:52 ` Rob Landley
2012-12-03 13:11 ` Szabolcs Nagy
2012-12-03 17:30 ` Rich Felker
2012-12-03 22:03 ` Szabolcs Nagy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121127113102.GG10895@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).