X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d918f936d5bfc7e126cc3b1bbf6ce80836c8d6f1..3c448ab65e5becf76293444d1f90fea03c146a80:/src/doprnt.c diff --git a/src/doprnt.c b/src/doprnt.c index bb8c582ccd..c7c27bac4c 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -2,14 +2,14 @@ Also takes args differently: pass one pointer to an array of strings in addition to the format string which is separate. Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. + 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GNU Emacs. -GNU Emacs is free software; you can redistribute it and/or modify +GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,9 +17,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ +along with GNU Emacs. If not, see . */ #include @@ -328,8 +326,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args) }; /* If we had to malloc something, free it. */ - if (big_buffer) - xfree (big_buffer); + xfree (big_buffer); *bufptr = 0; /* Make sure our string end with a '\0' */ return bufptr - buffer;