30 Commits

Author SHA1 Message Date
Taylor R Campbell
426eb46441 com_err: Constify xyz_error_strings arrays.
Note: This changes the types of public symbols.  It is unlikely that
any applications would rightly _write_ to these arrays, but it is
possible they might require some UNCONST in order to pass the
pointers to other functions that are missing const qualifiers.
2023-06-20 12:19:48 -05:00
Andrew Tridgell
d9d8e94d66 heimdal: fixed -Werror=format error in com_err
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2012-08-02 14:43:52 +02:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Asanka C. Herath
f51ded7f34 Export annotations for com_right.h 2010-11-24 15:32:46 -05:00
Love Hornquist Astrand
d6d4efe386 Include roken.h for strlcpy rewrite 2009-11-15 21:31:20 -08:00
Love Hornquist Astrand
0c5a5849e1 add com_right_r 2009-10-12 10:41:32 -07:00
Love Hörnquist Åstrand
e4654af270 drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:06 +00:00
Love Hörnquist Åstrand
48db89d0c8 Drop HAVE_CONFIG_H
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:27:39 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
48da5e2bd7 longer string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:12:22 +00:00
Love Hörnquist Åstrand
c2fdb55529 Prefix domain with "heim_com_err"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:12:00 +00:00
Love Hörnquist Åstrand
747ec5c393 Make i18n support compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:08:23 +00:00
Love Hörnquist Åstrand
145c250db3 Provide i18n support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:08:08 +00:00
Johan Danielsson
607272201e (initialize_error_table_r): put table at end of the list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-28 20:00:13 +00:00
Johan Danielsson
3ca5f8150f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Björn Groenvall
be97c75d57 Change
struct error_table {
    char const * const * msgs;
    long base;
    int n_msgs;
};
struct et_list {
    struct et_list *next;
    struct error_table *table;
};
extern struct et_list *_et_list;

to be binary compatible with MIT compile_et


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4436 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-17 21:19:44 +00:00
Johan Danielsson
8bb02601e7 Rename error.h to com_right.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4395 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-14 23:47:06 +00:00
Johan Danielsson
a20dd63694 initialize_error_table -> initialize_error_table_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4127 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-05 04:24:53 +00:00
Johan Danielsson
9c87108706 Move initialisation from generated code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3161 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-26 20:34:24 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Johan Danielsson
93566390d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2330 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-15 21:21:42 +00:00
Johan Danielsson
e3c11cd30c Replace krb5_get_err_text with new function com_right.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2127 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-10 04:19:46 +00:00
Johan Danielsson
d462e9a413 Remove use of error_list.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2120 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-10 03:32:54 +00:00
Johan Danielsson
8e51e22065 Don't use krb5_locl.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2116 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-10 03:10:00 +00:00
Johan Danielsson
2647c58cad Try strerror if error code wasn't found.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1315 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 10:49:28 +00:00
Johan Danielsson
22f81b830c Add asn1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1147 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-18 00:04:04 +00:00
Johan Danielsson
31bda4c23b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1146 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-18 00:04:03 +00:00
Johan Danielsson
63a92395e7 Add primitive error library.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1126 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-17 00:31:01 +00:00