autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autotest buglet/AIX awk limitation


From: Ralf Wildenhues
Subject: Re: autotest buglet/AIX awk limitation
Date: Fri, 3 Jun 2005 09:55:44 +0200
User-agent: Mutt/1.4.1i

Hi Paul,

* Paul Eggert wrote on Fri, Jun 03, 2005 at 01:32:09AM CEST:
> Thanks for reporting that.  I installed this fix.

Thanks for this prompt response, and sorry for not providing a patch
myself.  Also, I believe there was no need to update documentation since
SUSv3 mentions (at least) 256 characters for a regex (in general, not
just awk).

However, this patch unfortunately does not fix it:

| $ ./testsuite --list
| GNU Autoconf 2.59c test suite test groups:
| 
|  NUM: FILE-NAME:LINE     TEST-GROUP-NAME
|       KEYWORDS
| 
|  awk: The string or regular expression beginning with
|         the characters " banner-1 " cannot contain more than 399 bytes.
|  The source line is 2.
|  The error context is
|                 3 74 75 76 banner-8 77 78 79 80 banner-9 81 82 83 banner-10 
84 85 86 87 88 89 90 banner-11 91 92 93 94 95 96 97 98 99 100 101 >>>  1 <<< 02 
103 banner-12 104 105 banner-13 106 107 108 109 110 111 112 banner-14 113 114 
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 
banner-15 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 
banner-16 152 banner-17 153 154 155 156 157 158 159 160 161 162 163 164 165 166 
banner-18 167 168 169 170 171 172 173 174 175 176 177 178 banner-19 179 180 181 
182 183 184 185 186 187 banner-20 188 189 190 191 192 193 194 195 196 197 
banner-21 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 
215 216 217 218 219 220 221 222 223 224 banner-22 225 banner-23 226 banner-24 
227", a); n; n--) selected[a[n]] = 1
|  syntax error The source line is 3.
|  awk: The statement cannot be correctly parsed.
|  The source line is 3.

I could try to work on a patch, but it will take a little while, sorry.

Regards,
Ralf, who'll eventually get back to his other pending issues as well..

> 2005-06-02  Paul Eggert  <address@hidden>
> 
>       * lib/autotest/general.m4 (AT_INIT): Don't create a regular
>       expression of unbounded size when processing the --list
>       option.  This runs afoul of a limit of 399 bytes per regular
>       expression on AIX.  Problem reported by Ralf Wildenhues.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]