File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ const struct arg_chr arg_chars2[] = {
199
199
**
200
200
***********************************************************************/
201
201
{
202
- int ARG_BUF_SIZE = 1024 ;
202
+ int arg_buf_size = 1024 ;
203
203
204
204
REBCHR * arg ;
205
205
REBCHR * args = 0 ; // holds trailing args
@@ -263,17 +263,17 @@ const struct arg_chr arg_chars2[] = {
263
263
else {
264
264
int len ; REBCHR * tmp ;
265
265
if (!args ) {
266
- args = MAKE_STR (ARG_BUF_SIZE );
266
+ args = MAKE_STR (arg_buf_size );
267
267
args [0 ] = 0 ;
268
268
}
269
- len = ARG_BUF_SIZE - LEN_STR (args ) - 2 ; // space remaining
269
+ len = arg_buf_size - LEN_STR (args ) - 2 ; // space remaining
270
270
while (len < 0 ) {
271
271
tmp = args ;
272
- args = MAKE_STR (2 * ARG_BUF_SIZE );
273
- memcpy (args , tmp , ARG_BUF_SIZE );
274
- ARG_BUF_SIZE *= 2 ;
272
+ args = MAKE_STR (2 * arg_buf_size );
273
+ memcpy (args , tmp , arg_buf_size );
274
+ arg_buf_size *= 2 ;
275
275
free (tmp );
276
- len = ARG_BUF_SIZE - LEN_STR (args ) - 2 ;
276
+ len = arg_buf_size - LEN_STR (args ) - 2 ;
277
277
}
278
278
JOIN_STR (args , arg , len );
279
279
JOIN_STR (args , TXT (" " ), 1 );
You can’t perform that action at this time.
0 commit comments