diff --git a/TODO b/TODO index a9e9243e..bfc6872e 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ + - try vips vips diff --git a/libvips/foreign/dzsave.c b/libvips/foreign/dzsave.c index 22945b80..662db30f 100644 --- a/libvips/foreign/dzsave.c +++ b/libvips/foreign/dzsave.c @@ -1511,8 +1511,11 @@ vips_foreign_save_dz_build( VipsObject *object ) GsfOutput *out; GError *error = NULL; + /* We can't write to dirname: gsf_outfile_stdio_new() will + * make a dir called @arg1 to hold the things we make. + */ if( !(out = (GsfOutput *) - gsf_outfile_stdio_new( dz->dirname, &error )) ) { + gsf_outfile_stdio_new( dz->name, &error )) ) { vips_g_error( &error ); return( -1 ); }