gnumeric r16785 - in trunk: . src



Author: mortenw
Date: Thu Sep 11 23:21:06 2008
New Revision: 16785
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16785&view=rev

Log:
2008-09-11  Morten Welinder  <terra gnome org>

	* src/print.c (gnm_print_sheet): Fix error check.



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/print.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Thu Sep 11 23:21:06 2008
@@ -23,6 +23,7 @@
 Morten:
        * Fix display of array formulas.  [#550902]
        * Fix off-by-one for random_landau.
+       * Fix error check for printing to file.
 
 --------------------------------------------------------------------------
 Gnumeric 1.9.2

Modified: trunk/src/print.c
==============================================================================
--- trunk/src/print.c	(original)
+++ trunk/src/print.c	Thu Sep 11 23:21:06 2008
@@ -1558,7 +1558,7 @@
 
   if (tmp_file_name) {
 	  char buffer[64 * 1024];
-	  size_t bytes_read;
+	  gssize bytes_read;
 
 	  if (lseek (tmp_file_fd, 0, SEEK_SET) < 0)
 		  bytes_read = -1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]