re PR libfortran/27107 (Make dependency on io/io.h broken)
PR libfortran/27107
* runtime/environ.c: Don't include io/io.h.
* runtime/string.c: Don't include io/io.h.
(compare0): Add cast to avoid warning.
* runtime/error.c: Don't include io/io.h.
(st_printf): Move to io/unix.c.
* intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
* intrinsics/fget.c: Likewise.
* intrinsics/ftell.c: Likewise.
* intrinsics/tty.c: Likewise.
* libgfortran.h (DEFAULT_RECL, notification_std,
get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
DEFAULT_TEMPDIR): New declarations.
* io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
Move to libgfortran.h.
* io/unix.c: Add io/unix.h content.
(st_printf): New function.
* io/intrinsics.c: New file.
* io/unix.h: Remove, contents moved into unix.c.
* libtool-version: Update library version to 3.0.0.
* configure.ac: Update library version to 0.3.
* Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
* Makefile.in: Regenerate.
* configure: Regenerate.
From-SVN: r120869
2007-01-17 20:44:00 +01:00
|
|
|
2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
|
|
|
|
|
|
|
PR libfortran/27107
|
|
|
|
* runtime/environ.c: Don't include io/io.h.
|
|
|
|
* runtime/string.c: Don't include io/io.h.
|
|
|
|
(compare0): Add cast to avoid warning.
|
|
|
|
* runtime/error.c: Don't include io/io.h.
|
|
|
|
(st_printf): Move to io/unix.c.
|
|
|
|
* intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
|
|
|
|
* intrinsics/fget.c: Likewise.
|
|
|
|
* intrinsics/ftell.c: Likewise.
|
|
|
|
* intrinsics/tty.c: Likewise.
|
|
|
|
* libgfortran.h (DEFAULT_RECL, notification_std,
|
|
|
|
get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
|
|
|
|
DEFAULT_TEMPDIR): New declarations.
|
|
|
|
* io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
|
|
|
|
IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
|
|
|
|
Move to libgfortran.h.
|
|
|
|
* io/unix.c: Add io/unix.h content.
|
|
|
|
(st_printf): New function.
|
|
|
|
* io/intrinsics.c: New file.
|
|
|
|
* io/unix.h: Remove, contents moved into unix.c.
|
|
|
|
* libtool-version: Update library version to 3.0.0.
|
|
|
|
* configure.ac: Update library version to 0.3.
|
|
|
|
* Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
|
|
|
|
intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2007-01-13 00:10:27 +01:00
|
|
|
2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR libgfortran/30435
|
|
|
|
* io/list_read.c (finish_separator): Don't call next_record.
|
|
|
|
(list_formatted_read_scalar): Clean up some comments and whitespace.
|
|
|
|
(nml_read_obj): Whitespace fix.
|
|
|
|
|
2007-01-06 01:14:38 +01:00
|
|
|
2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
|
|
|
|
|
|
|
PR libgfortran/30162
|
|
|
|
* io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
|
|
|
|
s->file_length == -1.
|
|
|
|
(fd_alloc_w_at): Do not adjust file_length if file is not seekable.
|
|
|
|
(fd_seek): If not seekable, just return success.
|
|
|
|
(fd_truncate): If not seekable, no need to truncate. Return failure if
|
|
|
|
seek fails and the stream is not a pipe.
|
|
|
|
(fd_to_stream): Make test for non-seekable file more robust.
|
|
|
|
|
2007-01-01 20:17:50 +01:00
|
|
|
2007-01-01 Steven G. Kargl <kargls@comcast.net>
|
2006-12-30 14:16:36 +01:00
|
|
|
|
2007-01-01 20:17:50 +01:00
|
|
|
* ChangeLog: Copied to ...
|
|
|
|
* ChangeLog-2006: here.
|