aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmalloc.c')
-rw-r--r--src/gmalloc.c23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 1faf6506167..73b23950e84 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -1,5 +1,5 @@
1/* Declarations for `malloc' and friends. 1/* Declarations for `malloc' and friends.
2 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2024 Free 2 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2025 Free
3 Software Foundation, Inc. 3 Software Foundation, Inc.
4 Written May 1989 by Mike Haertel. 4 Written May 1989 by Mike Haertel.
5 5
@@ -295,7 +295,8 @@ extern struct mstats mstats (void);
295#endif 295#endif
296 296
297/* Memory allocator `malloc'. 297/* Memory allocator `malloc'.
298 Copyright 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. 298 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2025 Free
299 Software Foundation, Inc.
299 Written May 1989 by Mike Haertel. 300 Written May 1989 by Mike Haertel.
300 301
301This library is free software; you can redistribute it and/or 302This library is free software; you can redistribute it and/or
@@ -945,7 +946,8 @@ _realloc (void *ptr, size_t size)
945 946
946#endif 947#endif
947/* Free a block of memory allocated by `malloc'. 948/* Free a block of memory allocated by `malloc'.
948 Copyright 1990, 1991, 1992, 1994, 1995 Free Software Foundation, Inc. 949 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2025 Free
950 Software Foundation, Inc.
949 Written May 1989 by Mike Haertel. 951 Written May 1989 by Mike Haertel.
950 952
951This library is free software; you can redistribute it and/or 953This library is free software; you can redistribute it and/or
@@ -1255,7 +1257,8 @@ cfree (void *ptr)
1255#endif 1257#endif
1256#endif 1258#endif
1257/* Change the size of a block allocated by `malloc'. 1259/* Change the size of a block allocated by `malloc'.
1258 Copyright 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. 1260 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2025 Free
1261 Software Foundation, Inc.
1259 Written May 1989 by Mike Haertel. 1262 Written May 1989 by Mike Haertel.
1260 1263
1261This library is free software; you can redistribute it and/or 1264This library is free software; you can redistribute it and/or
@@ -1426,7 +1429,7 @@ realloc (void *ptr, size_t size)
1426 hook = grealloc_hook; 1429 hook = grealloc_hook;
1427 return (hook ? hook : _realloc_internal) (ptr, size); 1430 return (hook ? hook : _realloc_internal) (ptr, size);
1428} 1431}
1429/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc. 1432/* Copyright (C) 1991-1992, 1994, 2025 Free Software Foundation, Inc.
1430 1433
1431This library is free software; you can redistribute it and/or 1434This library is free software; you can redistribute it and/or
1432modify it under the terms of the GNU General Public License as 1435modify it under the terms of the GNU General Public License as
@@ -1463,7 +1466,7 @@ calloc (size_t nmemb, size_t size)
1463 return memset (result, 0, bytes); 1466 return memset (result, 0, bytes);
1464 return result; 1467 return result;
1465} 1468}
1466/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. 1469/* Copyright (C) 1991-1992, 1994, 2025 Free Software Foundation, Inc.
1467This file is part of the GNU C Library. 1470This file is part of the GNU C Library.
1468 1471
1469The GNU C Library is free software; you can redistribute it and/or modify 1472The GNU C Library is free software; you can redistribute it and/or modify
@@ -1512,7 +1515,7 @@ gdefault_morecore (ptrdiff_t increment)
1512 1515
1513void *(*__morecore) (ptrdiff_t) = gdefault_morecore; 1516void *(*__morecore) (ptrdiff_t) = gdefault_morecore;
1514 1517
1515/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. 1518/* Copyright (C) 1991-1992, 1994, 2025 Free Software Foundation, Inc.
1516 1519
1517This library is free software; you can redistribute it and/or 1520This library is free software; you can redistribute it and/or
1518modify it under the terms of the GNU General Public License as 1521modify it under the terms of the GNU General Public License as
@@ -1644,7 +1647,8 @@ posix_memalign (void **memptr, size_t alignment, size_t size)
1644#endif 1647#endif
1645 1648
1646/* Allocate memory on a page boundary. 1649/* Allocate memory on a page boundary.
1647 Copyright (C) 1991, 92, 93, 94, 96 Free Software Foundation, Inc. 1650 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2025 Free
1651 Software Foundation, Inc.
1648 1652
1649This library is free software; you can redistribute it and/or 1653This library is free software; you can redistribute it and/or
1650modify it under the terms of the GNU General Public License as 1654modify it under the terms of the GNU General Public License as
@@ -1838,7 +1842,8 @@ realloc (void *ptr, size_t size)
1838#ifdef GC_MCHECK 1842#ifdef GC_MCHECK
1839 1843
1840/* Standard debugging hooks for `malloc'. 1844/* Standard debugging hooks for `malloc'.
1841 Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. 1845 Copyright (C) 1990-1993, 1995-1996, 1999, 2002-2007, 2013-2025 Free
1846 Software Foundation, Inc.
1842 Written May 1989 by Mike Haertel. 1847 Written May 1989 by Mike Haertel.
1843 1848
1844This library is free software; you can redistribute it and/or 1849This library is free software; you can redistribute it and/or