2011-01-27 21:22:37 +01:00
|
|
|
|
2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/47431
|
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* configure.ac: Add check for ctime_r().
|
|
|
|
|
* intrinsics/ctime.c (ctime_r): Fallback implementation.
|
|
|
|
|
(fdate): Use ctime_r() instead of ctime().
|
|
|
|
|
(fdate_sub): Likewise.
|
|
|
|
|
(ctime): Likewise.
|
|
|
|
|
(ctime_sub): Likewise.
|
|
|
|
|
|
2011-01-27 21:05:45 +01:00
|
|
|
|
2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/47432
|
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* configure.ac: Add check for ttyname_r.
|
|
|
|
|
* io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
|
|
|
|
|
* io/unix.c (stream_ttyname): Use ttyname_r if available, conform
|
|
|
|
|
to new prototype.
|
|
|
|
|
* io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
|
|
|
|
|
* io/intrinsics.c (ttynam_sub): Likewise.
|
|
|
|
|
(ttynam): Likewise.
|
|
|
|
|
|
2011-01-27 18:34:14 +01:00
|
|
|
|
2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/47491
|
|
|
|
|
* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
|
|
|
|
|
extensions.
|
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-01-27 03:16:18 +01:00
|
|
|
|
2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgfortran/47285
|
|
|
|
|
* io/write_float.def (output_float): Return SUCCESS or FAILURE and use
|
|
|
|
|
the result to set the padding.
|
|
|
|
|
|
2011-01-26 10:14:01 +01:00
|
|
|
|
2011-01-26 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* intrinsics/getlog.c (getlog): Fix label/statement issue.
|
|
|
|
|
|
2011-01-25 17:46:00 +01:00
|
|
|
|
2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/47375
|
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* configure.ac: Add check for getpwuid_r.
|
|
|
|
|
* intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
|
|
|
|
|
|
2011-01-21 23:42:17 +01:00
|
|
|
|
2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/46267
|
|
|
|
|
* config.h.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* configure.ac: Check presence of strerror_r.
|
|
|
|
|
* intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
|
|
|
|
|
* io/unix.c (get_oserror): Remove.
|
|
|
|
|
* libgfortran.h (gf_strerror): Add prototype.
|
|
|
|
|
(get_oserror): Remove prototype.
|
|
|
|
|
* runtime/error.c (gf_strerror): New function.
|
|
|
|
|
(os_error): Use gf_strerror instead of get_oserror.
|
|
|
|
|
(generate_errror): Likewise.
|
|
|
|
|
|
2011-01-17 06:48:10 +01:00
|
|
|
|
2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libfortran/47296
|
|
|
|
|
* io/unix.c (tempfile): Set opp->file and opp->file_len also if an
|
|
|
|
|
error occurs.
|
|
|
|
|
|
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions)
PR fortran/46625
* quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
* quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
(strtoflt128, quadmath_flt128tostr): Add.
* gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
(strtoflt128): ... this. Return __float128, instead of writing
to memory pointed by last argument.
* quadmath.h: Use C style comments instead of C++ style.
(quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
(strtoflt128, quadmath_flt128tostr): Add prototypes.
* libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
(quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
adjust examples.
* quadmath_io.c (quadmath_dtoaq): Rename to...
(quadmath_flt128tostr): ... this.
libgfortran/
* io/write_float.def (DTOAQ): Use quadmath_flt128tostr
instead of quadmath_dtoa.
* io/transfer128.c (tmp1, tmp2): New variables, bring in
strtoflt128 and quadmath_flt128tostr.
(transfer_real128, transfer_real128_write, transfer_complex128,
transfer_complex128_write): Remove tmp1/tmp2 variables.
* io/read.c (convert_real): Use strtoflt128 instead of
quadmath_strtopQ, adjust for the changed arguments and return
value.
From-SVN: r168856
2011-01-16 17:55:27 +01:00
|
|
|
|
2011-01-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR fortran/46625
|
|
|
|
|
* io/write_float.def (DTOAQ): Use quadmath_flt128tostr
|
|
|
|
|
instead of quadmath_dtoa.
|
|
|
|
|
* io/transfer128.c (tmp1, tmp2): New variables, bring in
|
|
|
|
|
strtoflt128 and quadmath_flt128tostr.
|
|
|
|
|
(transfer_real128, transfer_real128_write, transfer_complex128,
|
|
|
|
|
transfer_complex128_write): Remove tmp1/tmp2 variables.
|
|
|
|
|
* io/read.c (convert_real): Use strtoflt128 instead of
|
|
|
|
|
quadmath_strtopQ, adjust for the changed arguments and return
|
|
|
|
|
value.
|
|
|
|
|
|
2011-01-15 07:42:30 +01:00
|
|
|
|
2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgfortran/47296
|
|
|
|
|
* io/unix.c (unpack_filename): Return non-zero if the filename passed
|
|
|
|
|
in is NULL.
|
|
|
|
|
|
2011-01-05 04:53:15 +01:00
|
|
|
|
2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR libgfortran/47154
|
|
|
|
|
* io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
|
|
|
|
|
duplicate calls via next_record.
|
|
|
|
|
|
2010-01-04 09:59:59 +01:00
|
|
|
|
|
2011-01-02 17:22:05 +01:00
|
|
|
|
Copyright (C) 2011 Free Software Foundation, Inc.
|
2010-01-04 09:59:59 +01:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|