[Kazehakase-cvs] kazehakase-svn [3034] * src/utils/utils.c (_make_history_time_stamp): don' t treat

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Tue Mar 27 09:03:35 JST 2007


Revision: 3034
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3034
Author:   kous
Date:     2007-03-27 09:03:35 +0900 (Tue, 27 Mar 2007)

Log Message:
-----------
* src/utils/utils.c (_make_history_time_stamp): don't treat
  time-stamp file as special.

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/src/utils/utils.c

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-03-26 23:31:29 UTC (rev 3033)
+++ kazehakase/trunk/ChangeLog	2007-03-27 00:03:35 UTC (rev 3034)
@@ -1,3 +1,8 @@
+2007-03-27  Kouhei Sutou  <kou****@cozmi*****>
+
+	* src/utils/utils.c (_make_history_time_stamp): don't treat
+	time-stamp file as special.
+
 2007-03-27  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
 	* module/embed/gtk-webcore/kz-gtk-webcore-module.cpp: A new file.

Modified: kazehakase/trunk/src/utils/utils.c
===================================================================
--- kazehakase/trunk/src/utils/utils.c	2007-03-26 23:31:29 UTC (rev 3033)
+++ kazehakase/trunk/src/utils/utils.c	2007-03-27 00:03:35 UTC (rev 3034)
@@ -546,8 +546,7 @@
 
 
 static void
-_make_history_time_stamp (const gchar *dir, FILE *time_stamp,
-			  const gchar *time_stamp_path)
+_make_history_time_stamp (const gchar *dir, FILE *time_stamp)
 {
 	GDir *gdir;
 	const gchar *entry;
@@ -562,10 +561,9 @@
 
 		if (g_file_test(file_name, G_FILE_TEST_IS_DIR))
 		{
-			_make_history_time_stamp(file_name, time_stamp,
-						 time_stamp_path);
+			_make_history_time_stamp(file_name, time_stamp);
 		}
-		else if (strcmp(file_name, time_stamp_path) != 0)
+		else
 		{
 			struct stat st;
 
@@ -587,7 +585,7 @@
 	if (!fp)
 		return;
 
-	_make_history_time_stamp(history_dir, fp, time_stamp_path);
+	_make_history_time_stamp(history_dir, fp);
 }
 
 void




More information about the Kazehakase-cvs mailing list
Back to archive index