busybox-1.4.1-binhex.patch 882 B

123456789101112131415161718192021222324
  1. --- busybox-1.4.1/include/libbb.h Wed Jan 24 22:34:48 2007
  2. +++ busybox-1.4.1-binhex/include/libbb.h Sat Jan 27 00:32:01 2007
  3. @@ -690,7 +690,7 @@
  4. extern const char bb_msg_standard_output[];
  5. extern const char bb_str_default[];
  6. -/* NB: (bb_hexdigits_upcase[i] | 0x10) -> lowercase hex digit */
  7. +/* NB: (bb_hexdigits_upcase[i] | 0x20) -> lowercase hex digit */
  8. extern const char bb_hexdigits_upcase[];
  9. extern const char bb_path_mtab_file[];
  10. --- busybox-1.4.1/libbb/xfuncs.c Wed Jan 24 22:49:25 2007
  11. +++ busybox-1.4.1-binhex/libbb/xfuncs.c Sat Jan 27 00:32:01 2007
  12. @@ -340,8 +340,8 @@
  13. while (count) {
  14. unsigned char c = *cp++;
  15. /* put lowercase hex digits */
  16. - *p++ = 0x10 | bb_hexdigits_upcase[c >> 4];
  17. - *p++ = 0x10 | bb_hexdigits_upcase[c & 0xf];
  18. + *p++ = 0x20 | bb_hexdigits_upcase[c >> 4];
  19. + *p++ = 0x20 | bb_hexdigits_upcase[c & 0xf];
  20. count--;
  21. }
  22. return p;