7 Bug-Reported-by: Bernd Eggink <monoped@sudrala.de>
8 Bug-Reference-ID: <49A323F5.60503@sudrala.de>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00177.html
13 Under certain circumstances, constructs containing command substitutions
14 prevent PS1 from being re-evaluated and updated before being displayed.
18 *** ../bash-4.0/parse.y 2009-01-08 08:29:12.000000000 -0500
19 --- parse.y 2009-02-25 15:58:25.000000000 -0500
24 ! ret = (int *)xmalloc (3 * sizeof (int));
25 ret[0] = last_read_token;
26 ret[1] = token_before_that;
27 ret[2] = two_tokens_ago;
33 ! ret = (int *)xmalloc (4 * sizeof (int));
34 ret[0] = last_read_token;
35 ret[1] = token_before_that;
36 ret[2] = two_tokens_ago;
37 + ret[3] = current_token;
43 token_before_that = ts[1];
44 two_tokens_ago = ts[2];
45 + current_token = ts[3];
51 word_desc_to_read = (WORD_DESC *)NULL;
53 + current_token = '\n'; /* XXX */
54 last_read_token = '\n';
56 *** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
57 --- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
60 looks for to find the patch level (for the sccs version string). */
62 ! #define PATCHLEVEL 2
64 #endif /* _PATCHLEVEL_H_ */
66 looks for to find the patch level (for the sccs version string). */
68 ! #define PATCHLEVEL 3
70 #endif /* _PATCHLEVEL_H_ */