Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison vmalloc.c @ 146:a49f02980151
fixed: hist index error, zero devision
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Thu, 12 May 2011 14:23:41 +0200 |
| parents | 13b22ffb8a2f |
| children | 9ddbb071142d |
comparison
equal
deleted
inserted
replaced
| 5:b9bccc28ac9e | 7:ec7c30cec7bc |
|---|---|
| 9 | 9 |
| 10 #include <malloc.h> | 10 #include <malloc.h> |
| 11 #include <stdlib.h> | 11 #include <stdlib.h> |
| 12 | 12 |
| 13 #include "VMS.h" | 13 #include "VMS.h" |
| 14 #include "Histogram/Histogram.h" | |
| 14 | 15 |
| 15 /*Helper function | 16 /*Helper function |
| 16 *Insert a newly generated free chunk into the first spot on the free list. | 17 *Insert a newly generated free chunk into the first spot on the free list. |
| 17 * The chunk is cast as a MallocProlog, so the various pointers in it are | 18 * The chunk is cast as a MallocProlog, so the various pointers in it are |
| 18 * accessed with C's help -- and the size of the prolog is easily added to | 19 * accessed with C's help -- and the size of the prolog is easily added to |
