Merging from trunk: new function diagnostic_information_what, and mutable error info access.

[SVN r56477]
This commit is contained in:
Emil Dotchevski
2009-09-29 20:38:11 +00:00
parent d32fff4fb2
commit 6434a2031c
32 changed files with 9991 additions and 9480 deletions

View File

@ -18,7 +18,7 @@ void
file_read( FILE * f, void * buffer, size_t size )
{
if( size!=fread(buffer,1,size,f) )
throw file_read_error() << boost::errinfo_errno(errno);
throw file_read_error() << boost::errinfo_errno(errno);
}
//
@ -39,7 +39,7 @@ parse_file( char const * file_name )
catch(
boost::exception & e )
{
e << boost::errinfo_file_name(file_name);
e << boost::errinfo_file_name(file_name);
throw;
}
}