commit c6ddad6ac4fd5bfced98434df4bd50802426daa2 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Sat Apr 12 18:28:21 2014 +0200
remove pointless/counterproductive "Disk full?" error message suffixes the affected functions will set errno to ENOSPC when necessary. src/sync.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sync.c b/src/sync.c index cdd6c3d..353d1ac 100644 --- a/src/sync.c +++ b/src/sync.c @@ -49,7 +49,7 @@ void Fclose( FILE *f, int safe ) { if ((safe && (fflush( f ) || (UseFSync && fdatasync( fileno( f ) )))) || fclose( f ) == EOF) { - sys_error( "Error: cannot close file. Disk full?" ); + sys_error( "Error: cannot close file" ); exit( 1 ); } } @@ -64,7 +64,7 @@ Fprintf( FILE *f, const char *msg, ... ) r = vfprintf( f, msg, va ); va_end( va ); if (r < 0) { - sys_error( "Error: cannot write file. Disk full?" ); + sys_error( "Error: cannot write file" ); exit( 1 ); } } ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel