bash30-011 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. *** bash-3.0/lib/readline/mbutil.c Wed Jan 14 09:44:52 2004
  2. --- bash/lib/readline/mbutil.c Wed Aug 18 22:25:57 2004
  3. ***************
  4. *** 127,135 ****
  5. {
  6. tmp = mbrtowc (&wc, string + point, strlen (string + point), &ps);
  7. ! while (wcwidth (wc) == 0)
  8. {
  9. point += tmp;
  10. tmp = mbrtowc (&wc, string + point, strlen (string + point), &ps);
  11. ! if (tmp == (size_t)(0) || tmp == (size_t)(-1) || tmp == (size_t)(-2))
  12. break;
  13. }
  14. --- 127,135 ----
  15. {
  16. tmp = mbrtowc (&wc, string + point, strlen (string + point), &ps);
  17. ! while (tmp > 0 && wcwidth (wc) == 0)
  18. {
  19. point += tmp;
  20. tmp = mbrtowc (&wc, string + point, strlen (string + point), &ps);
  21. ! if (MB_NULLWCH (tmp) || MB_INVALIDCH (tmp))
  22. break;
  23. }
  24. *** bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
  25. --- bash/patchlevel.h Thu Sep 2 15:04:32 2004
  26. ***************
  27. *** 26,30 ****
  28. looks for to find the patch level (for the sccs version string). */
  29. ! #define PATCHLEVEL 10
  30. #endif /* _PATCHLEVEL_H_ */
  31. --- 26,30 ----
  32. looks for to find the patch level (for the sccs version string). */
  33. ! #define PATCHLEVEL 11
  34. #endif /* _PATCHLEVEL_H_ */