Age | Commit message (Collapse) | Author |
|
* idvec.c (idvec_setid): Switch last two arguments in call to
idvec_insert_only.
* idvec.h: Doc fix.
|
|
* idvec.c (idvec_setid): Implement Posix saved set-user id
correctly.
(idvec_insert_only): Doc fix.
Reported by Mark Kettenis <kettenis@wins.uva.nl>.
|
|
* idvec.c, idvec-auth.c (id_t): Remove typedef; use uid_t everywhere.
The name `id_t' is coopted in libc now for the SVID `waitid' interface.
|
|
Rewrite.
(idvec_set, idvec_merge):
Make NEW arg const.
(idvec_subtract, idvec_keep):
New functions.
(idvec_tail):
Function removed (now inline in idvec.h).
(idvec_set_ids, idvec_merge_ids):
Make IDS arg const.
(idvec_contains, idvec_tail_contains):
Make IDVEC arg const.
|
|
Handle POS > IDVEC->num correctly.
(idvec_insert_only):
Handle POS >= IDVEC->num correctly.
|
|
|
|
* idvec.h (idvec_set, idvec_set_ids): New functions.
* idvec.c (idvec_set, idvec_set_ids): Ditto.
Tue Nov 5 21:16:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* idvec.h (idvec_setid): Doc fix.
|
|
|
|
|
|
(idvec_ensure): Alloc NUM ids, not NUM chars!
(idvec_remove): Correctly copy ids when deleting.
|
|
(idvec_setid): Use idvec_insert_only() instead of idvec_insert_new().
|
|
idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids,
idvec_setid): New functions.
(idvec_insert): Rewritten to use idvec_grow().
|
|
All renamed from the corresponding `ivec' routine, and types, variable
names, etc, changed accordingly.
|
|
|