Check-in Number:
|
1412 | |
Date: |
2001-Dec-08 17:28:41 (local)
2001-Dec-08 16:28:41 (UTC) |
User: | simons |
Branch: | |
Comment: |
Fixed test case for division-by-zero error with force_expand mode. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/var_test.c 1.21 -> 1.22
--- var_test.c 2001/12/08 16:27:57 1.21
+++ var_test.c 2001/12/08 16:28:41 1.22
@@ -142,7 +142,7 @@
{ "${ARRAY[$NUMEXP]}", "entry1" },
{ "${ARRAY[$NUMEXP-1]}", "entry0" },
{ "${ARRAY[${UNDEFINED}-1]}", "${ARRAY[${UNDEFINED}-1]}" },
- { "${ARRAY[5/(${UNDEFINED}-1)]}", "${ARRAY[5/(${UNDEFINED}-1)]}" }
+ { "${ARRAY[5/(${UNDEFINED})]}", "${ARRAY[5/(${UNDEFINED})]}" }
};
char *tmp;
size_t tmp_len;
|
|