librsvg r1176 - trunk
- From: doml svn gnome org
- To: svn-commits-list gnome org
- Subject: librsvg r1176 - trunk
- Date: Wed, 27 Aug 2008 19:38:10 +0000 (UTC)
Author: doml
Date: Wed Aug 27 19:38:10 2008
New Revision: 1176
URL: http://svn.gnome.org/viewvc/librsvg?rev=1176&view=rev
Log:
#549619 . build librsvg fail
Modified:
trunk/configure.in
trunk/rsvg-convert.c
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Aug 27 19:38:10 2008
@@ -196,7 +196,6 @@
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wcast-align -Wsign-compare \
- -Werror \
$CFLAGS"
else
AC_MSG_RESULT(no)
Modified: trunk/rsvg-convert.c
==============================================================================
--- trunk/rsvg-convert.c (original)
+++ trunk/rsvg-convert.c Wed Aug 27 19:38:10 2008
@@ -106,8 +106,9 @@
static cairo_status_t
rsvg_cairo_write_func (void *closure, const unsigned char *data, unsigned int length)
{
- fwrite (data, 1, length, (FILE *) closure);
- return CAIRO_STATUS_SUCCESS;
+ if (fwrite (data, 1, length, (FILE *) closure) == length)
+ return CAIRO_STATUS_SUCCESS;
+ return CAIRO_STATUS_WRITE_ERROR;
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]