From 693ac2ab353682796bff85e1d521eeae31a3938e Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Tue, 25 Aug 2015 16:27:43 +0000 Subject: [PATCH] unit.c (get_internal_unit): Make default sign mode unspecified. * io/unit.c (get_internal_unit): Make default sign mode unspecified. (init_units): Make default sign mode unspecified. From-SVN: r227178 --- libgfortran/ChangeLog | 5 +++++ libgfortran/io/unit.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index db86bdc1a01..1f2bb7e6aa4 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2015-08-25 Francois-Xavier Coudert + + * io/unit.c (get_internal_unit): Make default sign mode unspecified. + (init_units): Make default sign mode unspecified. + 2015-08-25 Francois-Xavier Coudert * libgfortran.h (check_buffered): Remove unused prototype. diff --git a/libgfortran/io/unit.c b/libgfortran/io/unit.c index d7e6deacaf5..b5c7f3ebd9c 100644 --- a/libgfortran/io/unit.c +++ b/libgfortran/io/unit.c @@ -507,7 +507,7 @@ get_internal_unit (st_parameter_dt *dtp) iunit->flags.form = FORM_FORMATTED; iunit->flags.pad = PAD_YES; iunit->flags.status = STATUS_UNSPECIFIED; - iunit->flags.sign = SIGN_SUPPRESS; + iunit->flags.sign = SIGN_UNSPECIFIED; iunit->flags.decimal = DECIMAL_POINT; iunit->flags.delim = DELIM_UNSPECIFIED; iunit->flags.encoding = ENCODING_DEFAULT; @@ -606,7 +606,7 @@ init_units (void) u->flags.blank = BLANK_NULL; u->flags.pad = PAD_YES; u->flags.position = POSITION_ASIS; - u->flags.sign = SIGN_SUPPRESS; + u->flags.sign = SIGN_UNSPECIFIED; u->flags.decimal = DECIMAL_POINT; u->flags.delim = DELIM_UNSPECIFIED; u->flags.encoding = ENCODING_DEFAULT; @@ -635,7 +635,7 @@ init_units (void) u->flags.status = STATUS_OLD; u->flags.blank = BLANK_NULL; u->flags.position = POSITION_ASIS; - u->flags.sign = SIGN_SUPPRESS; + u->flags.sign = SIGN_UNSPECIFIED; u->flags.decimal = DECIMAL_POINT; u->flags.delim = DELIM_UNSPECIFIED; u->flags.encoding = ENCODING_DEFAULT; @@ -664,7 +664,7 @@ init_units (void) u->flags.status = STATUS_OLD; u->flags.blank = BLANK_NULL; u->flags.position = POSITION_ASIS; - u->flags.sign = SIGN_SUPPRESS; + u->flags.sign = SIGN_UNSPECIFIED; u->flags.decimal = DECIMAL_POINT; u->flags.encoding = ENCODING_DEFAULT; u->flags.async = ASYNC_NO; -- 2.30.2