* dfp.c (decimal_from_string): Remove superfluous newline from

error string.
	(decimal_to_string): Likewise.
	* printcmd.c (printf_command): Change string buffer to use
	MAX_DECIMAL_STRING constant.
	* value.c (value_from_decfloat): Likewise.
This commit is contained in:
Thiago Jung Bauermann
2007-11-27 20:13:12 +00:00
parent c0993dbe92
commit a4ae0ca1db
4 changed files with 13 additions and 4 deletions

View File

@@ -2128,7 +2128,7 @@ printf_command (char *arg, int from_tty)
case decfloat_arg:
{
char *eos;
char decstr[128];
char decstr[MAX_DECIMAL_STRING];
unsigned int dfp_len = TYPE_LENGTH (value_type (val_args[i]));
unsigned char *dfp_value_ptr = (unsigned char *) value_contents_all (val_args[i])
+ value_offset (val_args[i]);