From c2ae9f30c62fd17fb4157b5f364e941db06bc6aa Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 4 Jul 2014 13:58:47 +0100 Subject: [PATCH] fix vips_rawsave_fd() see https://github.com/jcupitt/libvips/issues/143 thanks aferrero2707 --- ChangeLog | 3 +++ configure.ac | 6 +++--- libvips/foreign/rawsave.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64d16b6d..6df32078 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +4/7/14 started 7.40.4 +- fix vips_rawsave_fd(), thanks aferrero2707 + 30/6/14 started 7.40.3 - fix interlaced thumbnails in vipsthumbnail, thanks lovell - fix use of "header" in benchmark/, thanks David diff --git a/configure.ac b/configure.ac index 6921a4ae..f408befe 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # also update the version number in the m4 macros below -AC_INIT([vips], [7.40.3], [vipsip@jiscmail.ac.uk]) +AC_INIT([vips], [7.40.4], [vipsip@jiscmail.ac.uk]) # required for gobject-introspection AC_PREREQ(2.62) @@ -18,7 +18,7 @@ AC_CONFIG_MACRO_DIR([m4]) # user-visible library versioning m4_define([vips_major_version], [7]) m4_define([vips_minor_version], [40]) -m4_define([vips_micro_version], [3]) +m4_define([vips_micro_version], [4]) m4_define([vips_version], [vips_major_version.vips_minor_version.vips_micro_version]) @@ -38,7 +38,7 @@ VIPS_VERSION_STRING=$VIPS_VERSION-`date` # binary interface changes not backwards compatible?: reset age to 0 LIBRARY_CURRENT=38 -LIBRARY_REVISION=1 +LIBRARY_REVISION=2 LIBRARY_AGE=0 # patched into include/vips/version.h diff --git a/libvips/foreign/rawsave.c b/libvips/foreign/rawsave.c index 14679878..a5250f81 100644 --- a/libvips/foreign/rawsave.c +++ b/libvips/foreign/rawsave.c @@ -280,7 +280,7 @@ vips_rawsave_fd( VipsImage *in, int fd, ... ) int result; va_start( ap, fd ); - result = vips_call_split( "rawsave_fd", ap, fd ); + result = vips_call_split( "rawsave_fd", ap, in, fd ); va_end( ap ); return( result );