* themeloader.cpp: ThemeLoader class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: themeloader.cpp,v 1.14 2003/06/09 12:33:16 asmax Exp $
+ * $Id: themeloader.cpp,v 1.15 2003/09/02 13:42:43 sam Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
while( 1 )
{
len = gzread( *t, &buffer, BLOCKSIZE );
- if(len < 0) fprintf(stderr, "%s", gzerror(*t, &err) );
+ if(len < 0) fprintf(stderr, "%s\n", gzerror(*t, &err) );
/*
* Always expect complete blocks to process
*/
if( len != 0 && len != BLOCKSIZE )
{
- fprintf(stderr, "gzread: incomplete block read");
+ fprintf(stderr, "gzread: incomplete block read\n");
return -1;
}
*p = '/';
outfile = fopen( fname, "wb" );
if( !outfile )
- fprintf( stderr, "tar couldn't create %s",
+ fprintf( stderr, "tar couldn't create %s\n",
fname );
}
}
int tar_close( TAR *t )
{
- if( gzclose( *t ) != Z_OK ) fprintf( stderr, "failed gzclose" );
+ if( gzclose( *t ) != Z_OK ) fprintf( stderr, "failed gzclose\n" );
free( t );
return 0;
}