/[inetutils]/inetutils/lib/vasnprintf.c
ViewVC logotype

Diff of /inetutils/lib/vasnprintf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ams, Fri Jan 21 13:02:48 2005 UTC revision 1.2 by gray, Fri Jul 29 10:52:44 2005 UTC
# Line 1  Line 1 
1  /* vsprintf with automatic memory allocation.  /* vsprintf with automatic memory allocation.
2     Copyright (C) 1999, 2002-2004 Free Software Foundation, Inc.     Copyright (C) 1999, 2002-2005 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 13  Line 13 
13    
14     You should have received a copy of the GNU General Public License along     You should have received a copy of the GNU General Public License along
15     with this program; if not, write to the Free Software Foundation,     with this program; if not, write to the Free Software Foundation,
16     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
17    
18  /* Tell glibc's <stdio.h> to provide a prototype for snprintf().  /* Tell glibc's <stdio.h> to provide a prototype for snprintf().
19     This must come before <config.h> because <config.h> may include     This must come before <config.h> because <config.h> may include
# Line 51  Line 51 
51  /* Checked size_t computations.  */  /* Checked size_t computations.  */
52  #include "xsize.h"  #include "xsize.h"
53    
54    /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW.  */
55    #ifndef EOVERFLOW
56    # define EOVERFLOW E2BIG
57    #endif
58    
59  #ifdef HAVE_WCHAR_T  #ifdef HAVE_WCHAR_T
60  # ifdef HAVE_WCSLEN  # ifdef HAVE_WCSLEN
61  #  define local_wcslen wcslen  #  define local_wcslen wcslen

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26