diff options
author | Ulrich Müller <ulm@gentoo.org> | 2013-03-11 19:56:46 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2013-03-11 19:56:46 +0100 |
commit | 3b936ca8df9416506b4c749b915c169204dc31d3 (patch) | |
tree | 42defcda823034468214657d4d57891457c4753e | |
parent | Remove 24.1 patchset. (diff) | |
download | emacs-patches-3b936ca8df9416506b4c749b915c169204dc31d3.tar.gz emacs-patches-3b936ca8df9416506b4c749b915c169204dc31d3.tar.bz2 emacs-patches-3b936ca8df9416506b4c749b915c169204dc31d3.zip |
Fix misspelled symbol in pop.c, bug 461370.emacs-24.3-patches-1
This caused a failure because of an undeclared identifier when
building with the Heimdal Kerberos implementation. Thanks to
Martin von Gagern for the patch.
-rw-r--r-- | emacs/24.3/01_all_pop-errmax.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/24.3/01_all_pop-errmax.patch b/emacs/24.3/01_all_pop-errmax.patch new file mode 100644 index 0000000..112907f --- /dev/null +++ b/emacs/24.3/01_all_pop-errmax.patch @@ -0,0 +1,16 @@ +Avoid using an undefined name with the Heimdal Kerberos implementation. +Patch by Martin von Gagern. +https://bugs.gentoo.org/461370 +http://debbugs.gnu.org/13925 + +--- emacs-24.3-orig/lib-src/pop.c ++++ emacs-24.3/lib-src/pop.c +@@ -1198,7 +1198,7 @@ socket_connection (char *host, int flags + } + #elif defined HAVE_KRB5_ERROR_E_TEXT + if (err_ret && err_ret->e_text && **err_ret->e_text) +- snprintf (pop_error + pop_error_len, ERRMAX - pop_error_len, ++ snprintf (pop_error + pop_error_len, ERROR_MAX - pop_error_len, + " [server says '%s']", *err_ret->e_text); + #endif + if (err_ret) |