7 Bug-Reported-by: James.M.Botte@lowes.com
8 Bug-Reference-ID: <BA9FF90F7E5B424998F98EDA9F1F94BE01FA9853@msexchdb01.lowes.com>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-12/msg00000.html
13 When using its built-in replacement for snprintf/asprintf, bash does not
14 treat the %x, %X, and %o format specifiers as unsigned numbers.
18 *** bash-3.2-patched/lib/sh/snprintf.c Mon Nov 13 08:58:52 2006
19 --- bash-3.2/lib/sh/snprintf.c Wed Dec 6 11:15:04 2006
23 sd = d; /* signed for ' ' padding in base 10 */
24 ! flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
29 sd = d; /* signed for ' ' padding in base 10 */
31 ! flags = (*p->pf == 'x' || *p->pf == 'X' || *p->pf == 'o' || *p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
37 sd = d; /* signed for ' ' padding in base 10 */
38 ! flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
43 sd = d; /* signed for ' ' padding in base 10 */
44 ! flags = (*p->pf == 'x' || *p->pf == 'X' || *p->pf == 'o' || *p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
47 *** bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
48 --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
51 looks for to find the patch level (for the sccs version string). */
53 ! #define PATCHLEVEL 8
55 #endif /* _PATCHLEVEL_H_ */
57 looks for to find the patch level (for the sccs version string). */
59 ! #define PATCHLEVEL 9
61 #endif /* _PATCHLEVEL_H_ */