SF.net SVN: geany: [1812] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Aug 19 17:59:15 UTC 2007


Revision: 1812
          http://geany.svn.sourceforge.net/geany/?rev=1812&view=rev
Author:   eht16
Date:     2007-08-19 10:59:15 -0700 (Sun, 19 Aug 2007)

Log Message:
-----------
Include error code string in the debug message if a file could not be written.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-08-19 17:40:19 UTC (rev 1811)
+++ trunk/ChangeLog	2007-08-19 17:59:15 UTC (rev 1812)
@@ -4,6 +4,8 @@
    po/POTFILES.in, src/plugins.c, src/plugindata.h:
    New plugin: Export as HTML and LaTeX.
    Add some functions to the plugin API needed by the Export plugin.
+ * src/utils.c: Include error code string in the debug message if a file
+                could not be written.
 
 
 2007-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c	2007-08-19 17:40:19 UTC (rev 1811)
+++ trunk/src/utils.c	2007-08-19 17:59:15 UTC (rev 1812)
@@ -246,7 +246,8 @@
 	}
 	else
 	{
-		geany_debug("utils_write_file(): could not write to file %s", filename);
+		geany_debug("utils_write_file(): could not write to file %s (%s)",
+			filename, g_strerror(errno));
 		return errno;
 	}
 	return 0;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list