From 34a58b737bec267bef230600d9f400cc54cc8abc Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 22 Oct 1999 22:17:35 +0000 Subject: [PATCH] Silence gcc longjmp warnings: * prompter.c (krb5_prompter_posix): Make ointrfunc, fd, and errcode volatile. * promptusr.c (krb5_os_get_tty_uio): Make ointrfunc and retval volatile. * read_pwd.c (krb5_read_password): Make ointrfunc volatile. Fix volatile decl for readin_string (pointer is volatile, doesn't point to volatile). * changepw.c (krb5_change_password): Wait only two minutes, not indefinitely, for a response from the kpasswd server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11873 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 13 +++++++++++++ src/lib/krb5/os/changepw.c | 18 ++++++++++++++++++ src/lib/krb5/os/prompter.c | 6 +++--- src/lib/krb5/os/promptusr.c | 4 ++-- src/lib/krb5/os/read_pwd.c | 4 ++-- 5 files changed, 38 insertions(+), 7 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 0f4d8c3e8..463e7da74 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,16 @@ +1999-10-22 Ken Raeburn + + * prompter.c (krb5_prompter_posix): Make ointrfunc, fd, and + errcode volatile. + * promptusr.c (krb5_os_get_tty_uio): Make ointrfunc and retval + volatile. + * read_pwd.c (krb5_read_password): Make ointrfunc volatile. Fix + volatile decl for readin_string (pointer is volatile, doesn't + point to volatile). + + * changepw.c (krb5_change_password): Wait only two minutes, not + indefinitely, for a response from the kpasswd server. + 1999-10-18 Ken Raeburn * localaddr.c (krb5_os_localaddr): Don't bother trying to create diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index 8a577c222..c8120f276 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -188,6 +188,9 @@ krb5_change_password(context, creds, newpw, result_code, for (i=0; i