aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/idvec.c
Commit message (Collapse)AuthorAgeFilesLines
* 1999-09-29 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-09-301-1/+1
| | | | | | * idvec.c (idvec_setid): Switch last two arguments in call to idvec_insert_only. * idvec.h: Doc fix.
* 1999-09-27 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-281-21/+19
| | | | | | | * idvec.c (idvec_setid): Implement Posix saved set-user id correctly. (idvec_insert_only): Doc fix. Reported by Mark Kettenis <kettenis@wins.uva.nl>.
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-041-26/+24
| | | | | * 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.
* (idvec_tail_contains):Miles Bader1997-05-271-15/+47
| | | | | | | | | | | | | | 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.
* (idvec_insert, idvec_remove):Miles Bader1997-02-211-18/+24
| | | | | | Handle POS > IDVEC->num correctly. (idvec_insert_only): Handle POS >= IDVEC->num correctly.
* Make new functions use bcopy correctly.Thomas Bushnell1996-11-181-2/+2
|
* Tue Nov 12 19:22:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-131-0/+23
| | | | | | | | | * 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_free_contents): New function.Roland McGrath1996-04-251-3/+9
|
* (idvec_merge_ids): Correctly add all IDS, even if some duplicates are avoided.Miles Bader1996-02-031-2/+3
|
* (idvec_merge_ids): Preserve duplicates internal to IDS.Miles Bader1996-01-021-5/+34
| | | | | (idvec_ensure): Alloc NUM ids, not NUM chars! (idvec_remove): Correctly copy ids when deleting.
* (idvec_remove, idvec_insert_only): New functions.Miles Bader1996-01-021-3/+41
| | | | (idvec_setid): Use idvec_insert_only() instead of idvec_insert_new().
* (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader1996-01-011-26/+152
| | | | | | idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid): New functions. (idvec_insert): Rewritten to use idvec_grow().
* (make_idvec, idvec_insert, idvec_add, idvec_contains):Miles Bader1995-12-211-30/+30
| | | | | All renamed from the corresponding `ivec' routine, and types, variable names, etc, changed accordingly.
* Initial revisionMiles Bader1995-12-171-0/+81