You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 5.0
  4. Patch-ID: bash50-009
  5. Bug-Reported-by: chet.ramey@case.edu
  6. Bug-Reference-ID:
  7. Bug-Reference-URL:
  8. Bug-Description:
  9. The history file reading code doesn't close the file descriptor open to
  10. the history file when it encounters a zero-length file.
  11. Patch (apply with `patch -p0'):
  12. *** a/lib/readline/histfile.c 2018-06-11 09:14:52.000000000 -0400
  13. --- b/lib/readline/histfile.c 2019-05-16 15:55:57.000000000 -0400
  14. ***************
  15. *** 306,309 ****
  16. --- 312,316 ----
  17. {
  18. free (input);
  19. + close (file);
  20. return 0; /* don't waste time if we don't have to */
  21. }
  22. *** a/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
  23. --- b/patchlevel.h 2016-10-01 11:01:28.000000000 -0400
  24. ***************
  25. *** 26,30 ****
  26. looks for to find the patch level (for the sccs version string). */
  27. ! #define PATCHLEVEL 8
  28. #endif /* _PATCHLEVEL_H_ */
  29. --- 26,30 ----
  30. looks for to find the patch level (for the sccs version string). */
  31. ! #define PATCHLEVEL 9
  32. #endif /* _PATCHLEVEL_H_ */