gcc/libgfortran/io
Janne Blomqvist f4471acbe3 Use calloc instead of malloc and memset.
2012-03-25  Janne Blomqvist  <jb@gcc.gnu.org>

	* runtime/memory.c (xcalloc): New function.
	* libgfortran.h (xcalloc): New prototype.
	* io/list_read.c (push_char): Use xcalloc instead of get_mem and
	memset.
	(l_push_char): Likewise.
	* io/unit.c (insert_unit): Likewise.
	(get_internal_unit): Likewise.
	* io/unix.c (open_internal): Likewise.
	(open_internal4): Likewise.
	(fd_to_stream): Likewise.

From-SVN: r185773
2012-03-25 08:48:49 +03:00
..
close.c Split up io/io.h 2009-11-02 23:52:59 +02:00
fbuf.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
fbuf.h PR 47694 Read from named pipe fails 2011-02-23 08:59:51 +02:00
file_pos.c Introduce a size member function to struct stream. 2011-10-31 16:52:26 +02:00
format.c Let the compiler decide whether to inline. 2011-11-10 19:08:24 +02:00
format.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
inquire.c PR 50016 Slow I/O on MingW due to _commit 2011-11-09 17:46:15 +02:00
intrinsics.c Configure cleanup. 2011-11-09 20:25:58 +02:00
io.h Let the compiler decide whether to inline. 2011-11-10 19:08:24 +02:00
list_read.c Use calloc instead of malloc and memset. 2012-03-25 08:48:49 +03:00
lock.c Remove free_mem 2010-05-07 18:55:59 +03:00
open.c Revert previous fix for PR 45723. 2011-11-07 16:32:50 +02:00
read.c PR 19155 Check for strtod failure via endptr 2011-05-29 11:59:44 +03:00
size_from_kind.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
transfer.c re PR fortran/50815 (ICE on allocation of deferred length character scalar dummy argument when -fbounds-check) 2011-12-08 20:00:55 +01:00
transfer128.c re PR fortran/47642 (real(kind=16) - libquadmath - segfault on amd64 FreeBSD) 2011-02-14 16:34:44 +01:00
unit.c Use calloc instead of malloc and memset. 2012-03-25 08:48:49 +03:00
unix.c Use calloc instead of malloc and memset. 2012-03-25 08:48:49 +03:00
unix.h Share vtables instead of replicating them for each unit. 2012-03-16 10:30:26 +02:00
write.c Let the compiler decide whether to inline. 2011-11-10 19:08:24 +02:00
write_float.def PR libfortran/52608 Move the removal of initial zeros. 2012-03-17 19:19:49 +02:00