diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-02-08 02:51:30 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-02-08 02:51:30 +0000 |
commit | 9071de6fdc9d39e5443d1982cf7689f5d2fc9d45 (patch) | |
tree | 2ba4851c1d77d4c9febc0125242f20725a8c7f92 | |
parent | 28500009d46c3737af3a2e3480e38a5c7561db6b (diff) | |
download | glib-9071de6fdc9d39e5443d1982cf7689f5d2fc9d45.tar.gz |
Copy all elements of the allocations[] array, including the last. (Pointed
Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com>
* gmem.c (g_mem_profile): Copy all elements
of the allocations[] array, including the last.
(Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | glib/gmem.c | 2 | ||||
-rw-r--r-- | gmem.c | 2 |
10 files changed, 50 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 938def212..860f80a88 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com> + + * gmem.c (g_mem_profile): Copy all elements + of the allocations[] array, including the last. + (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>) + 1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Make the error message in case of a broken thread diff --git a/glib/gmem.c b/glib/gmem.c index 697e9df81..e7e215dfd 100644 --- a/glib/gmem.c +++ b/glib/gmem.c @@ -409,7 +409,7 @@ g_mem_profile (void) gulong local_freed_mem; g_mutex_lock (mem_profile_lock); - for (i = 0; i < (MEM_PROFILE_TABLE_SIZE - 1); i++) + for (i = 0; i < MEM_PROFILE_TABLE_SIZE; i++) local_allocations[i] = allocations[i]; local_allocated_mem = allocated_mem; local_freed_mem = freed_mem; @@ -409,7 +409,7 @@ g_mem_profile (void) gulong local_freed_mem; g_mutex_lock (mem_profile_lock); - for (i = 0; i < (MEM_PROFILE_TABLE_SIZE - 1); i++) + for (i = 0; i < MEM_PROFILE_TABLE_SIZE; i++) local_allocations[i] = allocations[i]; local_allocated_mem = allocated_mem; local_freed_mem = freed_mem; |