Changeset 3252 for trunk/essentials/app-shells/bash/subst.c
- Timestamp:
- Apr 30, 2007, 1:17:24 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/app-shells/bash/subst.c
r3240 r3252 2576 2576 } 2577 2577 2578 char * 2579 expand_arith_string (string, quoted) 2580 char *string; 2581 { 2582 return (expand_string_if_necessary (string, quoted, expand_string)); 2583 } 2584 2578 2585 #if defined (COND_COMMAND) 2579 2586 /* Just remove backslashes in STRING. Returns a new string. */ … … 5249 5256 t = (char *)0; 5250 5257 5251 temp1 = expand_ string_if_necessary (substr, Q_DOUBLE_QUOTES, expand_string);5258 temp1 = expand_arith_string (substr, Q_DOUBLE_QUOTES); 5252 5259 *e1p = evalexp (temp1, &expok); 5253 5260 free (temp1); … … 5294 5301 t++; 5295 5302 temp2 = savestring (t); 5296 temp1 = expand_ string_if_necessary (temp2, Q_DOUBLE_QUOTES, expand_string);5303 temp1 = expand_arith_string (temp2, Q_DOUBLE_QUOTES); 5297 5304 free (temp2); 5298 5305 t[-1] = ':'; … … 6436 6443 6437 6444 /* Expand variables found inside the expression. */ 6438 temp1 = expand_ string_if_necessary (temp2, Q_DOUBLE_QUOTES, expand_string);6445 temp1 = expand_arith_string (temp2, Q_DOUBLE_QUOTES); 6439 6446 free (temp2); 6440 6447 … … 6478 6485 6479 6486 /* Do initial variable expansion. */ 6480 temp1 = expand_ string_if_necessary (temp, Q_DOUBLE_QUOTES, expand_string);6487 temp1 = expand_arith_string (temp, Q_DOUBLE_QUOTES); 6481 6488 6482 6489 goto arithsub;
Note:
See TracChangeset
for help on using the changeset viewer.