bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13925: ERRMAX in lib-src/pop.c


From: Paul Eggert
Subject: bug#13925: ERRMAX in lib-src/pop.c
Date: Tue, 12 Mar 2013 13:00:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

Sorry about the typo; it didn't trigger on my compilation platforms.

Here's the obvious patch.  Glenn, should I install this into
the emacs-24 branch or into the trunk?  I'm a bit fuzzy on
the branch status now that 24.3 has been released.

=== modified file 'lib-src/ChangeLog'
--- lib-src/ChangeLog   2013-03-11 02:35:23 +0000
+++ lib-src/ChangeLog   2013-03-12 19:57:55 +0000
@@ -1,3 +1,9 @@
+2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * pop.c: Fix ERRMAX typo (Bug#13925).
+       (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
+       Use ERROR_MAX, not ERRMAX.
+
 2013-03-11  Glenn Morris  <rgm@gnu.org>
 
        * Version 24.3 released.

=== modified file 'lib-src/pop.c'
--- lib-src/pop.c       2013-01-01 09:11:05 +0000
+++ lib-src/pop.c       2013-03-12 19:56:43 +0000
@@ -1198,7 +1198,7 @@
            }
 #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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]