Commit Graph

9 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
487bcca4e2 Use strcspn to remove \n from fgets result. Prompted by change by Ray
Lai of OpenBSD via Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:36:36 +00:00
Love Hörnquist Åstrand
495cb953e6 Catch empty file case. From Tobias Stoeckmann.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:22:52 +00:00
Love Hörnquist Åstrand
5654000990 lower amount of shadow and const warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:06:50 +00:00
Assar Westerlund
9bfda0d538 allocate several buffers for the list of words, instead of one strdup
per word (running under efence does not work very well otherwise)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-20 09:17:33 +00:00
Assar Westerlund
34f7c247b6 allow specifying the number of users to create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-13 01:46:51 +00:00
Assar Westerlund
c9d22e0c67 (main): handle --version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-31 01:21:50 +00:00
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Assar Westerlund
fdbca0e168 (add_user): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:43:39 +00:00
Assar Westerlund
7e0ba9e140 testing program, add random users
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 11:08:02 +00:00