forked from Imagelibrary/rtems
2001-10-10 Joel Sherrill <joel@OARcorp.com>
* libc/printk.c (printNum): Properly handle a maxwidth of 0 as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
This commit is contained in:
@@ -44,7 +44,7 @@ printNum(long unsigned int num, int base, int sign, int maxwidth, int lead)
|
||||
if ( (sign == 1) && ((long)num < 0) ) {
|
||||
BSP_output_char('-');
|
||||
num = -num;
|
||||
maxwidth--;
|
||||
if (maxwidth) maxwidth--;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2001-10-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libc/printk.c (printNum): Properly handle a maxwidth of 0
|
||||
as reported by Nick Hennenfent <NICK.HENNENFENT@ROCHE.COM>.
|
||||
|
||||
2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='.
|
||||
|
||||
@@ -44,7 +44,7 @@ printNum(long unsigned int num, int base, int sign, int maxwidth, int lead)
|
||||
if ( (sign == 1) && ((long)num < 0) ) {
|
||||
BSP_output_char('-');
|
||||
num = -num;
|
||||
maxwidth--;
|
||||
if (maxwidth) maxwidth--;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
|
||||
@@ -44,7 +44,7 @@ printNum(long unsigned int num, int base, int sign, int maxwidth, int lead)
|
||||
if ( (sign == 1) && ((long)num < 0) ) {
|
||||
BSP_output_char('-');
|
||||
num = -num;
|
||||
maxwidth--;
|
||||
if (maxwidth) maxwidth--;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
|
||||
Reference in New Issue
Block a user