Age | Commit message (Collapse) | Author |
|
* exec-reauth.c (exec_reauth): Change type of temp var i to
unsigned int to address gcc warning.
* idvec-impgids.c (idvec_merge_implied_gids) Change type of
temp var i to unsigned int to address gcc warning.
* idvec-impgids.c (idvec_merge_implied_gids): Change type of
temp var i to unsigned int to address gcc warning.
* idvec-rep.c (idvec_rep): Change type of temp var i to unsigned
int to address gcc warning.
* idvec-verify (idvec_verify): Change type of temp var i to
unsigned int to address gcc warning.
* idvec.c (idvec_merge_ids, idvec_remove): Change type of temp
var i to unsigned int to address gcc warning.
* portxlate.c (port_name_xlator_create, port_name_xlator_free):
Change type of temp var i to unsigned int to address gcc warning.
* timefmt.c (fmt_seconds): Cast width to int in test to modify
frac_places to address gcc warning.
* (ugids_verify_make_auth): Change type of temp var i to unsigned
int to address gcc warning.
|
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
* 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.
|
|
|