summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* prof_parse.c (parse_std_line, parse_quoted_string, need_double_quotes,Theodore Tso1998-01-243-8/+122
| | | | | | | | | | output_quoted_string, dump_profile, dump_profile_to_file): Vastly improved the profile parsing; whitespace at the end of lines are now ignored. Added quoted string parsing, complete with backquote processing. Strings which need to be quoted are properly quoted on output. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10373 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_open.c: Added O_BINARY for __CYGWIN32__.Ezra Peisach1998-01-2121-31/+67
| | | | | | | | | | | | | | | | | | | | | | | | | * clib/mkstemp.c: Added O_BINARY for __CYGWIN32__. * db/db.c: Added O_BINARY for __CYGWIN32__. * hash/dbm.c: Added O_BINARY for __CYGWIN32__. * hash/hash.c: Added O_BINARY for __CYGWIN32__. * hash/hsearch.c: Added O_BINARY for __CYGWIN32__. * include/db-int.h: Added O_BINARY for __CYGWIN32__. * recno/rec_open.c: Added O_BINARY for __CYGWIN32__. * test/dbtest.c: Added O_BINARY for __CYGWIN32__. * test/SEQ_TEST/t.c: Added O_BINARY for __CYGWIN32__. * test/btree.tests/main.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/driver2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tcreat3.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tdel.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/thash4.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tread2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tseq.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tverify.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/bigtest.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/passtest.c: Added O_BINARY for __CYGWIN32__. Changes originally by Jeremy Allison (jra@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10364 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_bigkey.c (collect_key, collect_data): Cast mallocEzra Peisach1998-01-154-6/+36
| | | | | | | | | | | | | | | return value to correct types. (raeburn@cygnus.com) * obj/Makefile.in (check): Set srcdir in environment. (raeburn@cygnus.com) * configure.in (AC_COMPILE_TYPE): replacment for AC_CHECK_TYPE that uses AC_TRY_COMPILE instead of AC_EGREP_CPP. For now, only use it for the int32 types (where AC_CHECK_TYPE gets the wrong result on __CYGWIN32__) and plan that AC_CHECK_TYPE itself gets repaired. (Fix by eichin@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10351 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/dbm.c: Rename the errno member of HTABTom Yu1997-12-214-9/+19
| | | | | | | | | | * hash/hash.h: Rename the errno member of HTAB to local_errno to avoid a collision with a glibc macro. * hash/hash.c: Rename the errno member of HTAB to local_errno to avoid a collision with a glibc macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10342 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): Fix goof in previous, which introducedTom Yu1997-12-072-3/+8
| | | | | | another fencepost error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10327 dc483132-0cff-0310-8789-dd5450dbe970
* Include <string.h> for memset prototypeEzra Peisach1997-12-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10324 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): Fix checks on string lengths to accountTom Yu1997-12-052-32/+31
| | | | | | for terminating nul character. Some whitespace fixups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10313 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_err.et: Add PTY_OPEN_SLAVE_TOOSHORT error codeTom Yu1997-12-033-1/+11
| | | | | | | * open_slave.c (pty_open_slave): Check to ensure that the slave name is not NULL or zero-length. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10310 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): Remove db lib symlinksEzra Peisach1997-11-192-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10298 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Update to new library build systemTom Yu1997-11-193-42/+22
| | | | | | * Makefile.in: Update to new library build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10291 dc483132-0cff-0310-8789-dd5450dbe970
* libupdate.sh: Add semicolons to prevent Bash 2.0 from complaining.Theodore Tso1997-11-142-2/+7
| | | | | | [krb5-build/486] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10279 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Do not prototype initialize_pty_error_table asEzra Peisach1997-10-282-1/+5
| | | | | | pty-err.h does as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10257 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFILES): Add $(srcdir)Ezra Peisach1997-10-242-4/+11
| | | | | | Allows make depend to run, git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10249 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel: Allow for edits of relevant files that should be changedTom Yu1997-10-082-2/+51
| | | | | | | each time a release is cut. Some snapshot support. Add "-9" flag to gzip. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10219 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as prefix to srcsEzra Peisach1997-10-072-1/+8
| | | | | | Allows make depend to work... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10209 dc483132-0cff-0310-8789-dd5450dbe970
* Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogsTom Yu1997-10-022-1/+6
| | | | | | for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
* Modified to work with the new CVS re-organizationTheodore Tso1997-10-011-6/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10203 dc483132-0cff-0310-8789-dd5450dbe970
* remove occurences of USE_STRING_H, HAS_STRDUP, and HAS_LABSTom Yu1997-09-193-2/+8
| | | | | | (see ChangeLogs for details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10199 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as neededEzra Peisach1997-08-172-4/+9
| | | | | | make depend will now work if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10180 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c (error_message): Mask error code withEzra Peisach1997-07-223-2/+12
| | | | | | | | | | | | | | | | | ERRCODE_MASK to handle case where 32bit ints are zero filled in the gssapi layer. * error_table.h: Define ERRCODE_MAX, the maximum allowed error code (32bits). I am taking the draconian outlook that the com_err library was always intending to define the error as a 32 bit value. I taken this approach instead of making the errcode_t machine specific as the com_er generated header files would then need be machine specific as well. (error codes are declared as say -4353L explicitly). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10122 dc483132-0cff-0310-8789-dd5450dbe970
* * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Fix bug in previousTom Yu1997-06-203-5/+10
| | | | | | patch; add double quotes to protect things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10101 dc483132-0cff-0310-8789-dd5450dbe970
* * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Assign the path toTom Yu1997-06-183-10/+23
| | | | | | | | | ac_dummy and then expand it, rather than simply tacking on $ac_dummy to the path. This works around POSIX.2 word splitting semantics, in which even things like a:b:c:$PATH don't get word-split as you might expect on a pre-POSIX shell. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10099 dc483132-0cff-0310-8789-dd5450dbe970
* Remove erroneous space from the HPUX open()Theodore Tso1997-06-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10093 dc483132-0cff-0310-8789-dd5450dbe970
* Check for openpty() in -lutil. It's there on FreeBSD and BSDITheodore Tso1997-04-252-0/+6
| | | | | | systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10074 dc483132-0cff-0310-8789-dd5450dbe970
* it's 'extern "C"' not '#extern "C"'Kevin Mitchell1997-03-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10039 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid spelling typoTheodore Tso1997-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10029 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to sed the manpage so that it is internally consistentTom Yu1997-03-201-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10018 dc483132-0cff-0310-8789-dd5450dbe970
* Oops this should not have been checked inTom Yu1997-03-202-628/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10016 dc483132-0cff-0310-8789-dd5450dbe970
* This commit was generated by cvs2svn to compensate for changes in r10013,Tom Yu1997-03-201-9/+17
| | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10014 dc483132-0cff-0310-8789-dd5450dbe970
* Initial revisionTom Yu1997-03-202-0/+628
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10011 dc483132-0cff-0310-8789-dd5450dbe970
* Add 'extern "C"' for C++ compatibility; also check for __cplusplusTheodore Tso1997-03-182-1/+14
| | | | | | since some C++ compilers don't set __STDC__ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10009 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c: Don't declare sys_nerr on MacintoshEzra Peisach1997-03-033-1/+9
| | | | | | * com_err.c: Fix MacMessageBox prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9996 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.c: Back out last change; it's not needed. Also, removeSam Hartman1997-03-013-6/+7
| | | | | | | | debugging cruft. * com_err.h: Do not declare com_err_hook extern if you declare it static in the source. [383] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9992 dc483132-0cff-0310-8789-dd5450dbe970
* Remove static from declaration of com_err_hookSam Hartman1997-03-012-3/+8
| | | | | | to work around NetBSD/Gcc bug. [383] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9991 dc483132-0cff-0310-8789-dd5450dbe970
* Moved some of the library list file build logic from the individual MakefilesRichard Basch1997-02-234-11/+8
| | | | | | to config/win-post.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
* Described the replacement of #ifdef unixRichard Basch1997-02-221-5/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9959 dc483132-0cff-0310-8789-dd5450dbe970
* AIX should also have the compatibility interfaceRichard Basch1997-02-222-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9958 dc483132-0cff-0310-8789-dd5450dbe970
* I really did mean #ifdef unix... I added AIX for compatibility.Richard Basch1997-02-223-3/+7
| | | | | | | Basically, only old Unix comerr will have the backwards compatibility. New systems, such as MVS/OpenEdition, MacOS, VMS, etc. should NOT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9957 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-222-1/+4
| | | | | | * Do not prototype error table init funciton; doesn't work any more git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9955 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-226-5/+18
| | | | | | * Do not use #ifdef unix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9954 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-223-127/+35
| | | | | | * Remove non-AIX stuff from makeshlib.sh as it is no longer needed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9953 dc483132-0cff-0310-8789-dd5450dbe970
* Update the major version to 3;Sam Hartman1997-02-222-1/+5
| | | | | | | | NetBSD has an incompatible (thanks to recent changes) libcom_err.so.2.0 that its linker prefers to libcom_err.so.1.0 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9944 dc483132-0cff-0310-8789-dd5450dbe970
* Unix bug: link.table was referencing an incompletely constructed variableRichard Basch1997-02-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9935 dc483132-0cff-0310-8789-dd5450dbe970
* et_c.awk:Richard Basch1997-02-202-21/+24
| | | | | | | | | | | | By default, the Unix version will still modify the _et_list variable (MIT com_err compatibility) Also, because et_XXX_error_table (struct error_table) is a global variable, no initialization/cleanup routine needs to be declared. The initialization routine is defined to be a no-op on all platforms but Unix to avoid compilation errors of a lot of the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9932 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure KRB5_DLLIMP/KRB5_CALLCONV are definedRichard Basch1997-02-181-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9902 dc483132-0cff-0310-8789-dd5450dbe970
* Do not free unallocated memory (win16)Richard Basch1997-02-181-11/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9901 dc483132-0cff-0310-8789-dd5450dbe970
* Win16 fixesRichard Basch1997-02-183-8/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9896 dc483132-0cff-0310-8789-dd5450dbe970
* Because you cannot call malloc() during DLL initialization under win16,Richard Basch1997-02-181-2/+16
| | | | | | | we must pre-allocate an array sufficiently large to hold several error tables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9895 dc483132-0cff-0310-8789-dd5450dbe970
* Export profile_get_values() for krb4 library (win16/win32)Richard Basch1997-02-184-28/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9888 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed variable name for Windows buildRichard Basch1997-02-161-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9877 dc483132-0cff-0310-8789-dd5450dbe970