readline81-002 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. READLINE PATCH REPORT
  2. =====================
  3. Readline-Release: 8.1
  4. Patch-ID: readline81-002
  5. Bug-Reported-by: Volodymyr Prodan <vovcat@gmail.com>
  6. Bug-Reference-ID:
  7. Bug-Reference-URL: https://savannah.gnu.org/patch/?10076
  8. Bug-Description:
  9. There are some characters (e.g., cyrillic) that can't be displayed using
  10. certain single-byte encodings (e.g., cp1251) because the negative signed
  11. int is interpreted as EOF and not displayed.
  12. Patch (apply with `patch -p0'):
  13. *** ../readline-8.1-patched/display.c 2021-03-16 18:12:20.000000000 -0400
  14. --- display.c 2021-06-07 16:53:08.000000000 -0400
  15. ***************
  16. *** 1599,1603 ****
  17. for (cur_face = FACE_NORMAL, i = 0; i < n; i++)
  18. ! putc_face (str[i], face[i], &cur_face);
  19. putc_face (EOF, FACE_NORMAL, &cur_face);
  20. }
  21. --- 1599,1603 ----
  22. for (cur_face = FACE_NORMAL, i = 0; i < n; i++)
  23. ! putc_face ((unsigned char) str[i], face[i], &cur_face);
  24. putc_face (EOF, FACE_NORMAL, &cur_face);
  25. }
  26. *** ../readline-8.1/patchlevel 2013-11-15 08:11:11.000000000 -0500
  27. --- patchlevel 2014-03-21 08:28:40.000000000 -0400
  28. ***************
  29. *** 1,3 ****
  30. # Do not edit -- exists only for use by patch
  31. ! 1
  32. --- 1,3 ----
  33. # Do not edit -- exists only for use by patch
  34. ! 2