summaryrefslogtreecommitdiffstats
path: root/src/tests/shlib/t_loader.c
Commit message (Collapse)AuthorAgeFilesLines
* Include autoconf.h before system headersGreg Hudson2014-07-081-5/+1
| | | | | | | | | Include autoconf.h (either directly or via proxy) before system headers, so that feature test macros defined there can affect the system namespace. Where include order was changed, eliminate some redundant or unnecessary includes. ticket: 7961
* Adjust most C source files to match the new standards for copyrightGreg Hudson2011-03-091-1/+25
| | | | | | and license comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
* Mark and reindent tests, with some exclusionsTom Yu2009-11-301-171/+172
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23394 dc483132-0cff-0310-8789-dd5450dbe970
* Convert many uses of sprintf to snprintf or asprintfGreg Hudson2008-12-011-1/+1
| | | | | | | ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21258 dc483132-0cff-0310-8789-dd5450dbe970
* Use asprintf instead of malloc/strcpy/strcat in many placesGreg Hudson2008-10-201-14/+7
| | | | | | | ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20901 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-1/+1
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* Exercise the dynamic loading/unloading of libraries a bit more.Ken Raeburn2005-02-091-39/+160
| | | | | | | | | | | | | | | | | | | | | | | Athena's old IRIX systems fail this test now. * t_loader.c (verbose): New variable. (do_close_1): Drop filename argument. Change messages accordingly, and only display them if verbose. Line up "done" messages vertically. (do_open_1): Likewise. Add library version argument, used when on AIX, in combination with RTLD_MEMBER. (do_open): Don't pass filename. Do pass library version; callers changed. (do_close): Don't pass filename. (get_sym_1): Renamed from get_sym, added line number argument. Print messages if verbose. (get_sym): New macro. (xbasename): Function deleted. (HORIZ): New macro. (main): Turn off output buffering. Print messages before and after calling functions in loaded libraries. Disable first set of tests, that don't call any functions. Test gssapi library without loading any other libraries, then test it after loading com_err, and unload com_err first. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17093 dc483132-0cff-0310-8789-dd5450dbe970
* * t_loader.c: New fileKen Raeburn2005-02-031-0/+251
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17083 dc483132-0cff-0310-8789-dd5450dbe970