diff options
author | Robert Xu <robxu9@gmail.com> | 2011-11-10 18:04:39 -0500 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2011-11-10 18:04:39 -0500 |
commit | 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 (patch) | |
tree | 2cfb64c59322628e613ed0895e3c3694d3abe6bd /opensuse/core/tdebase/non-fast-malloc.diff | |
parent | 8667643bff14a60d8571c599efd3e48bed3e3b12 (diff) | |
download | tde-packaging-21fcfa3348213aa87f0e3aef62ca4720c6d31cb7.tar.gz tde-packaging-21fcfa3348213aa87f0e3aef62ca4720c6d31cb7.zip |
initial commit to suse branch: eclipse integration
Diffstat (limited to 'opensuse/core/tdebase/non-fast-malloc.diff')
-rw-r--r-- | opensuse/core/tdebase/non-fast-malloc.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/opensuse/core/tdebase/non-fast-malloc.diff b/opensuse/core/tdebase/non-fast-malloc.diff new file mode 100644 index 000000000..c3f36be87 --- /dev/null +++ b/opensuse/core/tdebase/non-fast-malloc.diff @@ -0,0 +1,15 @@ +--- konqueror/konq_mainwindow.cc ++++ konqueror/konq_mainwindow.cc 2003/05/30 13:19:04 +@@ -4550,9 +4550,9 @@ + int usage_sum = 0; + #if defined(KDE_MALLINFO_STDLIB) || defined(KDE_MALLINFO_MALLOC) + // ugly hack for kdecore/malloc +- extern int kde_malloc_is_used; +- free( calloc( 4, 4 )); // trigger setting kde_malloc_is_used +- if( kde_malloc_is_used ) ++// extern int kde_malloc_is_used; ++// free( calloc( 4, 4 )); // trigger setting kde_malloc_is_used ++ if( 0 ) + { + struct mallinfo m = mallinfo(); + usage_sum = m.hblkhd + m.uordblks; |