Commit 5786bf53 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

printf specifier %#x corrected to prepend "0x" instead of "0X".

Version 5.17. Tagged as 'RISC_OSLib-5_17'
parent 5810d878
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
GBLS Module_ApplicationDate2 GBLS Module_ApplicationDate2
GBLS Module_ApplicationDate4 GBLS Module_ApplicationDate4
GBLS Module_HelpVersion GBLS Module_HelpVersion
Module_MajorVersion SETS "5.16" Module_MajorVersion SETS "5.17"
Module_Version SETA 516 Module_Version SETA 517
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "02 Oct 2000" Module_Date SETS "03 Oct 2000"
Module_ApplicationDate2 SETS "02-Oct-00" Module_ApplicationDate2 SETS "03-Oct-00"
Module_ApplicationDate4 SETS "02-Oct-2000" Module_ApplicationDate4 SETS "03-Oct-2000"
Module_FullVersion SETS "5.16" Module_FullVersion SETS "5.17"
Module_HelpVersion SETS "5.16 (02 Oct 2000)" Module_HelpVersion SETS "5.17 (03 Oct 2000)"
END END
/* (5.16) /* (5.17)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 5.16 #define Module_MajorVersion_CMHG 5.17
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 02 Oct 2000 #define Module_Date_CMHG 03 Oct 2000
#define Module_MajorVersion "5.16" #define Module_MajorVersion "5.17"
#define Module_Version 516 #define Module_Version 517
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "02 Oct 2000" #define Module_Date "03 Oct 2000"
#define Module_ApplicationDate2 "02-Oct-00" #define Module_ApplicationDate2 "03-Oct-00"
#define Module_ApplicationDate4 "02-Oct-2000" #define Module_ApplicationDate4 "03-Oct-2000"
#define Module_FullVersion "5.16" #define Module_FullVersion "5.17"
#define Module_HelpVersion "5.16 (02 Oct 2000)" #define Module_HelpVersion "5.17 (03 Oct 2000)"
...@@ -372,7 +372,7 @@ int __vfprintf(FILE *p, const char *fmt, va_list args, ...@@ -372,7 +372,7 @@ int __vfprintf(FILE *p, const char *fmt, va_list args,
case 'x': v = va_arg(args, int); case 'x': v = va_arg(args, int);
if (flags & _SHORTSPEC) v = (unsigned short)v; if (flags & _SHORTSPEC) v = (unsigned short)v;
hextab = "0123456789abcdef"; hextab = "0123456789abcdef";
prefix = ((flags&_VARIANT) != 0 && v != 0)? "0X" : ""; prefix = ((flags&_VARIANT) != 0 && v != 0)? "0x" : "";
if (flags & _PRECGIVEN) flags &= ~_PADZERO; if (flags & _PRECGIVEN) flags &= ~_PADZERO;
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment