Skip Menu |
 

Subject: tcl_kadm5.c is incompatible with Tcl 8.6
Tcl has long deprecated the direct use of the "result" field of
Tcl_Interp. In 8.6 the field becomes inaccessible unless
USE_INTERP_RESULT is defined, and generates deprecation warnings even if
it is. Supposedly 9.0 will remove the field altogether.

The modern idiom is Tcl_SetResult. Since we currently sprintf into
interp->result, we probably want to make a helper function which calls
snprintf into a buffer and then calls Tcl_SetResult with TCL_VOLATILE.
From: ghudson@mit.edu
Subject: git commit

Make tcl_kadm5.c work with Tcl 8.6

Directly accessing the result field of Tcl_Interp has been deprecated
for a long time, requires a special define in Tcl 8.6, and will be
impossible in Tcl 9. Use Tcl_SetResult instead. The new error
messages are less helpful than the old ones, but this is just support
infrastructure for old tests, so it isn't important.

https://github.com/krb5/krb5/commit/b63496d7b44f090ea5d300dc09b4fc043138ae38
Author: Greg Hudson <ghudson@mit.edu>
Commit: b63496d7b44f090ea5d300dc09b4fc043138ae38
Branch: master
src/kadmin/testing/util/tcl_kadm5.c | 42 ++++++++++++----------------------
1 files changed, 15 insertions(+), 27 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Make tcl_kadm5.c work with Tcl 8.6

Directly accessing the result field of Tcl_Interp has been deprecated
for a long time, requires a special define in Tcl 8.6, and will be
impossible in Tcl 9. Use Tcl_SetResult instead. The new error
messages are less helpful than the old ones, but this is just support
infrastructure for old tests, so it isn't important.

(cherry picked from commit b63496d7b44f090ea5d300dc09b4fc043138ae38)

https://github.com/krb5/krb5/commit/d1702d5d6ce987bbf9444f3e7ed870bd39f3399d
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: d1702d5d6ce987bbf9444f3e7ed870bd39f3399d
Branch: krb5-1.12
src/kadmin/testing/util/tcl_kadm5.c | 42 ++++++++++++----------------------
1 files changed, 15 insertions(+), 27 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Make tcl_kadm5.c work with Tcl 8.6

Directly accessing the result field of Tcl_Interp has been deprecated
for a long time, requires a special define in Tcl 8.6, and will be
impossible in Tcl 9. Use Tcl_SetResult instead. The new error
messages are less helpful than the old ones, but this is just support
infrastructure for old tests, so it isn't important.

https://github.com/krb5/krb5/commit/7d2c871e55b5483ded057d3492551821c243c544
Author: Greg Hudson <ghudson@mit.edu>
Commit: 7d2c871e55b5483ded057d3492551821c243c544
Branch: krb5-1.9
src/kadmin/testing/util/tcl_kadm5.c | 42 ++++++++++++----------------------
1 files changed, 15 insertions(+), 27 deletions(-)