[monkey-bubble: 99/753] Remove "rt" and use "r" in fopen call. (write_history): ditoo. ditto ditto
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 99/753] Remove "rt" and use "r" in fopen call. (write_history): ditoo. ditto ditto
- Date: Wed, 14 Jul 2010 22:04:00 +0000 (UTC)
commit 898f0b94c62876015ee365480e4996d554317b14
Author: Miguel de Icaza <miguel nuclecu unam mx>
Date: Wed Apr 28 00:34:16 1999 +0000
Remove "rt" and use "r" in fopen call. (write_history): ditoo. ditto ditto
1999-04-27 Miguel de Icaza <miguel nuclecu unam mx>
* gnome-history.c (gnome_history_get_recently_used): Remove "rt"
and use "r" in fopen call.
(write_history): ditoo.
* gnome-fileconvert.c (load_types_from): ditto
* gnome-score.c (log_score): ditto
(gnome_score_get_notable): ditto.
* gnome-mime.c (mime_fill_from_file): Ditto.
* gnome-triggers.c (gnome_triggers_readfile): ditto.
libgnome/gnome-score.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgnome/gnome-score.c b/libgnome/gnome-score.c
index 0f04d39..5b169e8 100644
--- a/libgnome/gnome-score.c
+++ b/libgnome/gnome-score.c
@@ -103,7 +103,7 @@ log_score (const gchar * progname, const gchar * level, gchar * username,
game_score_file = gnome_get_score_file_name (progname, level);
- infile = fopen (game_score_file, "rt");
+ infile = fopen (game_score_file, "r");
if (infile)
{
while(fgets(buf, sizeof(buf), infile))
@@ -162,7 +162,7 @@ log_score (const gchar * progname, const gchar * level, gchar * username,
/* we dont create the file; it must already exist */
truncate (game_score_file, 0);
- outfile = fopen (game_score_file, "r+t");
+ outfile = fopen (game_score_file, "r+");
if (outfile)
{
@@ -380,7 +380,7 @@ gnome_score_get_notable (gchar * gamename,
infile_name = gnome_get_score_file_name (realname, level);
- infile = fopen (infile_name, "rt");
+ infile = fopen (infile_name, "r");
g_free (infile_name);
if (infile)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]