all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: 13925@debbugs.gnu.org
Subject: bug#13925: ERRMAX in lib-src/pop.c
Date: Tue, 12 Mar 2013 13:00:47 -0700	[thread overview]
Message-ID: <513F896F.4030804@cs.ucla.edu> (raw)
In-Reply-To: <513DB8CC.2060900@gmx.net>

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)






  parent reply	other threads:[~2013-03-12 20:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 10:58 bug#13925: ERRMAX in lib-src/pop.c Martin von Gagern
2013-03-11 17:23 ` Glenn Morris
2013-03-12 20:00 ` Paul Eggert [this message]
2013-03-12 21:57   ` Glenn Morris
2013-03-12 22:00     ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513F896F.4030804@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=13925@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.