mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
g_file_get_contents() takes a gsize not int (fixes bus error on 64-bit
2002-04-25 jacob berkman <jacob@ximian.com> * src/session.c (load_state): g_file_get_contents() takes a gsize not int (fixes bus error on 64-bit platforms)
This commit is contained in:
parent
4ee70f0780
commit
e691b664e3
@ -1,3 +1,8 @@
|
||||
2002-04-25 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* src/session.c (load_state): g_file_get_contents() takes a gsize
|
||||
not int (fixes bus error on 64-bit platforms)
|
||||
|
||||
2002-04-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/main.c (main): call setlocale ourselves because due to a
|
||||
|
@ -976,7 +976,7 @@ load_state (const char *previous_save_file)
|
||||
GError *error;
|
||||
ParseData parse_data;
|
||||
char *text;
|
||||
int length;
|
||||
gsize length;
|
||||
char *session_file;
|
||||
|
||||
session_file = g_strconcat (g_get_home_dir (),
|
||||
|
Loading…
Reference in New Issue
Block a user