Am 28.09.2009 06:29, schrieb Jerry DeLisle:
Regression tested on x86-64-linux-gnu.
OK for trunk?
The patch looks OK except of the last two lines in
@@ -2252,6 +2322,16 @@ data_transfer_init (st_parameter_dt *dtp, int read
if (dtp->u.p.current_unit->decimal_status == DECIMAL_UNSPECIFIED)
dtp->u.p.current_unit->decimal_status =
dtp->u.p.current_unit->flags.decimal;
+ /* Check the round mode. */
+ dtp->u.p.current_unit->round_status
+ = !(cf& IOPARM_DT_HAS_ROUND) ? ROUND_UNSPECIFIED :
+ find_option (&dtp->common, dtp->round, dtp->round_len,
+ round_opt, "Bad ROUND parameter in data transfer "
+ "statement");
+
+ if (dtp->u.p.current_unit->decimal_status == DECIMAL_UNSPECIFIED)
+ dtp->u.p.current_unit->decimal_status =
dtp->u.p.current_unit->flags.decimal;
+
I think that should be "->round_status" instead of "->decimal_status".