/[gnats]/gnats/libiberty/dyn-string.c
ViewVC logotype

Diff of /gnats/libiberty/dyn-string.c

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

revision 1.1 by pdm, Mon Dec 10 23:03:26 2001 UTC revision 1.2 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 1  Line 1 
1  /* An abstract string datatype.  /* An abstract string datatype.
2     Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
3     Contributed by Mark Mitchell (mark@markmitchell.com).     Contributed by Mark Mitchell (mark@markmitchell.com).
4    
5  This file is part of GNU CC.  This file is part of GNU CC.
# Line 9  it under the terms of the GNU General Pu Line 9  it under the terms of the GNU General Pu
9  the Free Software Foundation; either version 2, or (at your option)  the Free Software Foundation; either version 2, or (at your option)
10  any later version.  any later version.
11    
12    In addition to the permissions in the GNU General Public License, the
13    Free Software Foundation gives you unlimited permission to link the
14    compiled version of this file into combinations with other programs,
15    and to distribute those combinations without any restriction coming
16    from the use of this file.  (The General Public License restrictions
17    do apply in other respects; for example, they cover modification of
18    the file, and distribution when not linked into a combined
19    executable.)
20    
21  GNU CC is distributed in the hope that it will be useful,  GNU CC is distributed in the hope that it will be useful,
22  but WITHOUT ANY WARRANTY; without even the implied warranty of  but WITHOUT ANY WARRANTY; without even the implied warranty of
23  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# Line 41  Boston, MA 02111-1307, USA.  */ Line 50  Boston, MA 02111-1307, USA.  */
50     abort if an allocation fails.  Instead, percolate an error code up     abort if an allocation fails.  Instead, percolate an error code up
51     through the call chain.  */     through the call chain.  */
52    
53  #ifdef IN_LIBGCC2  #if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3)
54  #define RETURN_ON_ALLOCATION_FAILURE  #define RETURN_ON_ALLOCATION_FAILURE
55  #endif  #endif
56    

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