mirror of the now-defunct rocklinux.org
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.

55 lines
1.3 KiB

  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.2
  4. Patch-ID: bash32-007
  5. Bug-Reported-by: jidanni@jidanni.org
  6. Bug-Reference-ID: <E1Gkg12-00017D-Fm@jidanni.org>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00039.html
  8. Bug-Description:
  9. When removing the current or previous job from the jobs list, bash incorrectly
  10. resets the current job under some circumstances.
  11. Patch:
  12. *** bash-3.2-patched/jobs.c Sat Jul 29 16:40:48 2006
  13. --- jobs.c Fri Nov 24 14:50:01 2006
  14. ***************
  15. *** 985,990 ****
  16. if (temp == 0)
  17. return;
  18. - if (job_index == js.j_current || job_index == js.j_previous)
  19. - reset_current ();
  20. if ((dflags & DEL_NOBGPID) == 0)
  21. --- 985,988 ----
  22. ***************
  23. *** 1029,1032 ****
  24. --- 1027,1033 ----
  25. else if (jobs[js.j_firstj] == 0 || jobs[js.j_lastj] == 0)
  26. reset_job_indices ();
  27. +
  28. + if (job_index == js.j_current || job_index == js.j_previous)
  29. + reset_current ();
  30. }
  31. *** bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
  32. --- patchlevel.h Mon Oct 16 14:22:54 2006
  33. ***************
  34. *** 26,30 ****
  35. looks for to find the patch level (for the sccs version string). */
  36. ! #define PATCHLEVEL 6
  37. #endif /* _PATCHLEVEL_H_ */
  38. --- 26,30 ----
  39. looks for to find the patch level (for the sccs version string). */
  40. ! #define PATCHLEVEL 7
  41. #endif /* _PATCHLEVEL_H_ */