|
1 |
| -From: ernst.molitor@uni-bonn.de |
2 |
| - |
3 |
| -Hi, |
4 |
| - |
5 |
| -thank you for the latest Postgres95 distribution! |
6 |
| - |
7 |
| ->does the createuser bug still persist, or have |
8 |
| ->we finally worked that one out? |
9 |
| - |
10 |
| -As has been indication by Bruce Momjian, the createuser problem was |
11 |
| -caused by a bug in flex 2.5.3 (which has been confirmed by Vern |
12 |
| -Paxson, the flex maintainer - many thanks to them); the bug will be |
13 |
| -fixed in flex 2.5.4. Vern Paxson has been so kind as to supply me with |
14 |
| -a patch that will be part of the 2.5.4 release; I'm including it below |
15 |
| -in case someone has installed flex 2.5.3 and doesn't want to go |
16 |
| -back to 2.5.2... |
17 |
| - |
18 |
| -Regards, |
19 |
| - |
20 |
| -Ernst |
21 |
| ---- |
22 |
| -*** flex-2.5.3/flex.skl Sat May 25 21:02:33 1996 |
23 |
| ---- flex.skl Tue Jul 2 16:35:49 1996 |
24 |
| -*************** |
25 |
| -*** 1,7 **** |
26 |
| - /* A lexical scanner generated by flex */ |
27 |
| - |
28 |
| - /* Scanner skeleton version: |
29 |
| -! * $Header: /cvsroot/pgsql/doc/Attic/README.flex,v 1.1.1.1 1996/08/18 22:14:17 scrappy Exp $ |
30 |
| - */ |
31 |
| - |
32 |
| - #define FLEX_SCANNER |
33 |
| ---- 1,7 ---- |
34 |
| - /* A lexical scanner generated by flex */ |
35 |
| - |
36 |
| - /* Scanner skeleton version: |
37 |
| -! * $Header: /cvsroot/pgsql/doc/Attic/README.flex,v 1.1.1.1 1996/08/18 22:14:17 scrappy Exp $ |
38 |
| - */ |
39 |
| - |
40 |
| - #define FLEX_SCANNER |
41 |
| -*************** |
42 |
| -*** 783,789 **** |
43 |
| - /* don't do the read, it's not guaranteed to return an EOF, |
44 |
| - * just force an EOF |
45 |
| - */ |
46 |
| -! yy_n_chars = 0; |
47 |
| - |
48 |
| - else |
49 |
| - { |
50 |
| ---- 783,789 ---- |
51 |
| - /* don't do the read, it's not guaranteed to return an EOF, |
52 |
| - * just force an EOF |
53 |
| - */ |
54 |
| -! yy_current_buffer->yy_n_chars = yy_n_chars = 0; |
55 |
| - |
56 |
| - else |
57 |
| - { |
58 |
| -*************** |
59 |
| -*** 838,843 **** |
60 |
| ---- 838,845 ---- |
61 |
| - /* Read in more data. */ |
62 |
| - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), |
63 |
| - yy_n_chars, num_to_read ); |
64 |
| -+ |
65 |
| -+ yy_current_buffer->yy_n_chars = yy_n_chars; |
66 |
| - } |
67 |
| - |
68 |
| - if ( yy_n_chars == 0 ) |
69 |
| -*************** |
70 |
| -*** 947,953 **** |
71 |
| - |
72 |
| - yy_cp += (int) (dest - source); |
73 |
| - yy_bp += (int) (dest - source); |
74 |
| -! yy_n_chars = yy_current_buffer->yy_buf_size; |
75 |
| - |
76 |
| - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) |
77 |
| - YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
78 |
| ---- 949,956 ---- |
79 |
| - |
80 |
| - yy_cp += (int) (dest - source); |
81 |
| - yy_bp += (int) (dest - source); |
82 |
| -! yy_current_buffer->yy_n_chars = |
83 |
| -! yy_n_chars = yy_current_buffer->yy_buf_size; |
84 |
| - |
85 |
| - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) |
86 |
| - YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
87 |
| -*************** |
88 |
| -*** 997,1009 **** |
89 |
| - |
90 |
| - switch ( yy_get_next_buffer() ) |
91 |
| - { |
92 |
| - case EOB_ACT_END_OF_FILE: |
93 |
| - { |
94 |
| - if ( yywrap() ) |
95 |
| -- { |
96 |
| -- yy_c_buf_p = yytext_ptr + offset; |
97 |
| - return EOF; |
98 |
| -- } |
99 |
| - |
100 |
| - if ( ! yy_did_buffer_switch_on_eof ) |
101 |
| - YY_NEW_FILE; |
102 |
| ---- 1000,1025 ---- |
103 |
| - |
104 |
| - switch ( yy_get_next_buffer() ) |
105 |
| - { |
106 |
| -+ case EOB_ACT_LAST_MATCH: |
107 |
| -+ /* This happens because yy_g_n_b() |
108 |
| -+ * sees that we've accumulated a |
109 |
| -+ * token and flags that we need to |
110 |
| -+ * try matching the token before |
111 |
| -+ * proceeding. But for input(), |
112 |
| -+ * there's no matching to consider. |
113 |
| -+ * So convert the EOB_ACT_LAST_MATCH |
114 |
| -+ * to EOB_ACT_END_OF_FILE. |
115 |
| -+ */ |
116 |
| -+ |
117 |
| -+ /* Reset buffer status. */ |
118 |
| -+ yyrestart( yyin ); |
119 |
| -+ |
120 |
| -+ /* fall through */ |
121 |
| -+ |
122 |
| - case EOB_ACT_END_OF_FILE: |
123 |
| - { |
124 |
| - if ( yywrap() ) |
125 |
| - return EOF; |
126 |
| - |
127 |
| - if ( ! yy_did_buffer_switch_on_eof ) |
128 |
| - YY_NEW_FILE; |
129 |
| -*************** |
130 |
| -*** 1017,1031 **** |
131 |
| - case EOB_ACT_CONTINUE_SCAN: |
132 |
| - yy_c_buf_p = yytext_ptr + offset; |
133 |
| - break; |
134 |
| -- |
135 |
| -- case EOB_ACT_LAST_MATCH: |
136 |
| -- #ifdef __cplusplus |
137 |
| -- YY_FATAL_ERROR( |
138 |
| -- "unexpected last match in yyinput()" ); |
139 |
| -- #else |
140 |
| -- YY_FATAL_ERROR( |
141 |
| -- "unexpected last match in input()" ); |
142 |
| -- #endif |
143 |
| - } |
144 |
| - } |
145 |
| - } |
146 |
| ---- 1033,1038 ---- |
147 |
| - |
0 commit comments