mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Restore lost wake_up().
Sun May 8 15:45:08 2005 Søren Sandmann <sandmann@redhat.com> * sysprof-module.c (do_generate): Restore lost wake_up(). * sfile.c: Comment out use of bz2. * Makefile: Add an install target. Add GLADE_DIR and PIXMAP_DIR * sysprof.c (build_gui): use GLADE_DIR and PIXMAP_DIR here. * TODO: Updates.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
c427b88352
commit
aaa38daad8
8
sfile.c
8
sfile.c
@ -23,7 +23,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#if 0
|
||||
#include <bzlib.h>
|
||||
#endif
|
||||
#include "sfile.h"
|
||||
|
||||
typedef struct State State;
|
||||
@ -1468,6 +1470,7 @@ file_replace (const gchar *filename,
|
||||
gssize length,
|
||||
GError **error);
|
||||
|
||||
#if 0
|
||||
static void
|
||||
disaster (int status)
|
||||
{
|
||||
@ -1530,6 +1533,7 @@ bz2_compress (const guchar *input, int input_length,
|
||||
if (output_length)
|
||||
*output_length = compressed_size;
|
||||
}
|
||||
#endif
|
||||
|
||||
gboolean
|
||||
sfile_output_save (SFileOutput *sfile,
|
||||
@ -1593,12 +1597,14 @@ sfile_output_save (SFileOutput *sfile,
|
||||
}
|
||||
}
|
||||
|
||||
/* FIMXE: bz2 compressing the output is probably
|
||||
#if 0
|
||||
/* FIXME - not10: bz2 compressing the output is probably
|
||||
* interesting at some point. For now just make sure
|
||||
* it works without actually using it.
|
||||
*/
|
||||
bz2_compress (output->str, output->len,
|
||||
&compressed, &compressed_size);
|
||||
#endif
|
||||
|
||||
g_free (compressed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user