1 Wed Jun 2 17:45:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3 * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag.
4 (malloc/ChangeLog): Use mv -f.
6 Mon May 31 21:49:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8 * malloc/mtrace.c: #include <stdio.h>; malloc.h no longer does.
10 Sun May 30 20:04:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
12 * malloc/malloc.c (malloc): #if 0 out ``if (SIZE == 0) return NULL''.
14 * malloc/malloc.h [_MALLOC_INTERNAL]: Don't include <stdio.h>.
15 [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file.
16 (NULL): Move after stddef.h.
18 * malloc/valloc.c: Don't include config.h; malloc.h already did.
20 * malloc/malloc.c: Undo rms's change.
22 * malloc/mcheck.c, malloc/malloc.h: Undo rms's change.
24 Sat May 29 13:04:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
26 * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1.
28 * malloc/malloc.h (CONST): Define this always,
29 rather than `const' sometimes.
30 (memory_warnings): Use CONST, not __const, in decl.
31 * malloc/mcheck.c (checkhdr): Use CONST, not const.
33 Fri May 14 19:34:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
35 * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c.
37 Wed May 12 19:43:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
39 * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional.
41 Wed May 12 16:24:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
43 * malloc/cfree.c: Include <malloc.h> instead of <stdlib.h>.
44 [_LIBC]: Use function_alias only under this conditional.
45 [! _LIBC] (cfree): Define a function that just calls free.
47 Mon May 10 16:56:09 1993 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
49 * malloc/cfree.c: Put the meat of the file inside a "#if
50 defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which
51 incorporates this file, can be used outside of the C library.
53 Sun May 9 16:57:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
55 * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h.
56 (malloc/ChangeLog): New rule using Noah's changelog-extract.
57 (malloc.tar): Use o flag to tar to make compatible archives.
58 (gmalloc-routines): Add calloc, valloc, and cfree.
59 (dist-routines): Remove [cv]alloc from here.
60 (routines): Remove cfree from here.
62 Fri Mar 26 14:53:30 1993 Michael John Haertel (mike@skinner.cs.uoregon.edu)
64 * malloc/malloc.c (malloc): Start searching at _heapindex, not
66 * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed.
67 * malloc/realloc.c (realloc): When malloc returns NULL, handle the
68 case of the block we need to unfree (which was just freed) having
69 been coalesced with its neighbors.
71 Thu Mar 25 13:40:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
73 * Rules (mostlyclean): Remove the .o files for $(tests) and $(others).
74 Remove $(objpfx)depend-$(subdir).
75 (clean): Remove $(extra-objs).
76 * Makefile (clean): Remove $(install-lib) from $(objdir).
77 Don't try to remove ansi/ and trad/ or dist.tar or lint.out.
78 Remove $(objpfx)depend-.
79 * time/Makefile (extra-objs): Define new var.
80 * malloc/Makefile (extra-objs): Likewise.
82 Wed Mar 24 16:09:26 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
84 * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed.
86 Mon Mar 22 15:35:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
88 * malloc/malloc.h [_MALLOC_INTERNAL]
89 [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in
91 * malloc/malloc/gmalloc-head.c: Redo previously undone change.
93 Thu Mar 18 04:59:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
95 * malloc/malloc/gmalloc-head.c: Undo previous change.
97 Tue Mar 9 11:32:35 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
99 * malloc/malloc/gmalloc-head.c: Remove #definitions of memset,
100 memcpy, and memmove; this is taken care of by malloc.h anyway.
102 Thu Feb 25 14:49:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
104 * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include <stdio.h> to
105 front of file; it needs to come before size_t/ptrdiff_t frobnication.
107 Mon Feb 22 12:19:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
109 * malloc/dist-Makefile (gmalloc.c): Depend on Makefile.
111 * malloc/Makefile (gmalloc-routines): New variable.
112 (dist-routines): Use it.
113 (malloc/Makefile): Also replace <GMALLOC-SOURCES> with
115 (malloc/Makefile): Make it unwritable to avoid accidental lossage.
118 * malloc/dist-Makefile (gmalloc): New variable: <GMALLOC-SOURCES>.
119 (gmalloc.c): Use $(gmalloc), not $(sources).
120 Make the file unwritable to avoid accidental lossage.
122 * malloc/mtrace.c: Don't #include <stdio.h> because <malloc.h> did
125 * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals
126 with #include "getpagesize.h".
127 * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h.
129 Thu Feb 18 14:34:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
131 * malloc/mcheck.c (checkhdr): Use `const', not `__const'.
133 Tue Dec 29 18:18:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
135 * malloc/Makefile (dist-headers): Define to malloc.h.
136 (headers): Replace malloc.h with $(dist-headers).
137 (malloc/Makefile): Use $(dist-headers) in place of $(headers).
138 (malloc-dist, distribute): Replace ChangeLog with OChangeLog.
140 * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE.
141 (FORCE): Define empty target.
143 Tue Oct 27 18:11:19 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
145 * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort;
146 never leave it unchanged.
147 Return 0 if mcheck_used; -1 if not.
148 * malloc/malloc.h (mcheck): Change return type in decl.
150 Thu Oct 15 19:25:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
152 * malloc/malloc.h (__after_morecore_hook): Declare new var.
153 * malloc/malloc.c (__after_morecore_hook): Define it.
156 Mon Oct 12 15:56:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
158 * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare.
160 * malloc/Makefile (dist-routines): Add ralloc.
161 (gpl2lgpl): Add ralloc.c.
163 Mon Oct 12 13:37:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
165 * malloc/malloc.h: Declare memory_warnings.
166 * malloc/Makefile (dist-routines): Add vm-limit.
167 (distribute): Add mem-limits.h.
168 (gpl2lgpl): Add vm-limit.c, mem-limits.h.
170 Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
172 * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define.
174 Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
176 * malloc/free.c (__free): Rename to _free_internal.
177 (free), malloc/malloc.c (morecore): Change callers.
178 * malloc/malloc.h: Change decl.
180 Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
182 * malloc/Makefile (obstack.%): Remove rule.
183 (gpl2lgpl): Define this instead.
184 * posix/Makefile (gpl2lgpl): Define to include getopt source files.
185 * Makerules ($(gpl2lgpl)): New rule to snarf code and frob its
188 Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
190 * malloc/Makefile (dist-routines): Define with routines for malloc.tar.
191 (routines): Define with that plus the rest.
193 (routines): Add obstack.
194 (headers): Add obstack.h.
195 (obstack.%): New rule.
197 Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
199 * sysdeps/unix/morecore.c (__default_morecore): Deansideclized.
200 * malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL.
202 Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
204 * malloc/malloc.h (mtrace): Declare.
206 * malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c,
207 malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c,
208 malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized;
209 changed copyright notices to be independent of libc.
210 * malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
212 Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
214 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h,
215 locale/locale.h, locale/localeinfo.h, math/math.h,
216 misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h,
217 misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h,
218 posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h,
219 posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h,
220 posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h,
221 resource/sys/resource.h, resource/sys/vlimit.h,
222 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
223 signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h,
224 stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h,
225 termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h,
226 io/fcntl.h, errno.h, stddef.h, malloc/malloc.h:
227 Deansideclized. Use <sys/cdefs.h> macros instead of ansidecl and
229 * features.h: #include <sys/cdefs.h>.
231 Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
233 * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_&
234 to not conflict with mcheck.c when combined into gmalloc.c.
236 Tue Apr 28 19:25:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
238 * malloc/valloc.c [emacs]: #include "config.h"
240 Thu Apr 23 13:55:34 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
242 * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset
243 if already #define'd.
245 Tue Apr 21 04:16:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
247 * malloc/Makefile: Moved include ../Rules after malloc.tar rules.
248 They need $(routines), which Rules clears.
250 * malloc/realloc.c (MIN): Renamed to min. Conflicted with HPUX
253 Tue Mar 17 17:31:06 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
255 * malloc/dist-README: Changed mailing list addr to bug-glibc.
257 Sun Mar 15 00:01:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
259 * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources.
261 Fri Mar 13 17:20:19 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
263 * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target
264 first; don't use -f to ln.
266 Tue Feb 25 01:42:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
268 * malloc/dist-README: Fixed mailing list addr.
270 Mon Feb 17 05:04:00 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
272 * malloc/Makefile (distribute): Add mcheck-init.c.
274 Fri Feb 14 01:52:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
276 * Makeconfig: Added comments describing objdir/Makeconfig and
278 (prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing.
279 * Makerules (install): New target.
280 * Makefile (+subdir_targets): Add subdir_install.
281 (install): Depend on subdir_install.
282 (install-lib): Define variable to install libc.a and crt0.o.
283 * misc/Makefile (install-lib): Install bsd-compat.
284 * malloc/Makefile (install-lib): Install mcheck-init.
286 Wed Feb 12 12:12:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
288 * malloc/mtrace.c: Use %p fmt for pointers.
291 Find older changes in OChangeLog.