[DragonFlyBSD - Bug #1390] Use id_t type for {get,set}priority()
Peter Avalos via Redmine
bugtracker-admin at leaf.dragonflybsd.org
Sun Mar 10 09:15:22 PDT 2013
Issue #1390 has been updated by pavalos.
Standards say it should be an id_t, so I'd say this is a valid issue.
----------------------------------------
Bug #1390: Use id_t type for {get,set}priority()
http://bugs.dragonflybsd.org/issues/1390
Author: Beket
Status: Feedback
Priority: Normal
Assignee: Beket
Category:
Target version:
Salute!
Both get- and set-priority() functions take a `who' argument that may refer to
process ID, group ID or a user ID depending on the situation. The id_t type,
which is already available in our src tree, guarantees that it's large enough to
hold pid, gid, etc.
The attached patch replaces `int' with `id_t' wherever appropriate. I have done
a build{world,kernel} and install{world,kernel} and I don't broke anything. Plus
some test cases I have, continue to pass.
If anyone objects to this patch speak now or forever hold your peace!
Cheers,
Stathis
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list