unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* warning fix
@ 2008-07-12 14:44 Emanuele Giaquinta
  2008-07-14  7:15 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Emanuele Giaquinta @ 2008-07-12 14:44 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

Hi,

fontset.c:fontset_from_font uses sprintf, so stdio.h must be included
unconditionally.

Emanuele

[-- Attachment #2: fontset.diff --]
[-- Type: text/x-diff, Size: 323 bytes --]

diff --git a/src/fontset.c b/src/fontset.c
index cde956c..5823869 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -28,9 +28,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
 
-#ifdef FONTSET_DEBUG
 #include <stdio.h>
-#endif
 
 #include "lisp.h"
 #include "blockinput.h"

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: warning fix
  2008-07-12 14:44 warning fix Emanuele Giaquinta
@ 2008-07-14  7:15 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2008-07-14  7:15 UTC (permalink / raw)
  To: Emanuele Giaquinta; +Cc: emacs-devel

In article <20080712144418.GB76730@orion.lan>, Emanuele Giaquinta <emanuele.giaquinta@gmail.com> writes:

> fontset.c:fontset_from_font uses sprintf, so stdio.h must be included
> unconditionally.

Thank you.  I've just installed your patch.

---
Kenichi Handa
handa@ni.aist.go.jp






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-14  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12 14:44 warning fix Emanuele Giaquinta
2008-07-14  7:15 ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).