int errflg = 0;
int quiet = 0;
+ setlocale(LC_MESSAGES, "");
progname = GET_PROGNAME(argv[0]);
while ((c = getopt(argc, argv, "54qc:")) != -1) {
struct k5_data k5;
int authed_k5 = 0;
+ setlocale(LC_MESSAGES, "");
progname = GET_PROGNAME(argv[0]);
/* Ensure we can be driven from a pipe */
char *name;
int mode;
+ setlocale(LC_MESSAGES, "");
progname = GET_PROGNAME(argv[0]);
name = NULL;
int result_code;
krb5_data result_code_string, result_string;
+ setlocale(LC_MESSAGES, "");
if (argc > 2) {
fprintf(stderr, _("usage: %s [principal]\n"), argv[0]);
exit(1);
char *sname = NULL, *for_user = NULL;
int canon = 0, unknown = 0, proxy = 0;
-
+ setlocale(LC_MESSAGES, "");
set_com_err_hook (extended_com_err_fn);
prog = strrchr(argv[0], '/');
krb5_error_code retval;
int sci_idx, code = 0;
+ setlocale(LC_MESSAGES, "");
whoami = ((whoami = strrchr(argv[0], '/')) ? whoami+1 : argv[0]);
request = kadmin_startup(argc, argv);
int cmd_argc;
krb5_error_code retval;
+ setlocale(LC_MESSAGES, "");
set_com_err_hook(extended_com_err_fn);
/*
krb5_error_code retval;
int sci_idx;
+ setlocale(LC_MESSAGES, "");
retval = krb5_init_context(&kcontext);
if (retval) {
com_err(argv[0], retval, _("while initializing krb5"));
kdb_log_context *log_ctx;
+ setlocale(LC_MESSAGES, "");
setvbuf(stderr, NULL, _IONBF, 0);
/* This is OID value the Krb5_Name NameType */
int errout = 0;
int i;
+ setlocale(LC_MESSAGES, "");
if (strrchr(argv[0], '/'))
argv[0] = strrchr(argv[0], '/')+1;
/*
* Ensure that "progname" is set before calling com_err.
*/
+ setlocale(LC_MESSAGES, "");
progname = (strrchr(argv[0], '/') ? strrchr(argv[0], '/')+1 : argv[0]);
retval = kadm5_init_krb5_context(&util_context);
krb5_creds *my_creds;
krb5_auth_context auth_context;
+ setlocale(LC_MESSAGES, "");
retval = krb5_init_context(&context);
if (retval) {
com_err(argv[0], retval, _("while initializing krb5"));
int ret = 0;
kdb_log_context *log_ctx;
+ setlocale(LC_MESSAGES, "");
PRS(argv);
log_ctx = kpropd_context->kdblog_context;
kdb_hlog_t *ulog = NULL;
char **db_args = NULL; /* XXX */
- (void) setlocale(LC_ALL, "");
+ setlocale(LC_MESSAGES, "");
#if !defined(TEXT_DOMAIN)
#define TEXT_DOMAIN "SYS_TEST"