gcc/libgfortran/runtime
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
..
backtrace.c Remove configure check for unused fdopen. 2012-01-12 12:30:45 +02:00
bounds.c libgfortran.h (descriptor_dimension, [...]): Rename _lbound to lower_bound and data to base_addr. 2012-03-10 18:22:31 +01:00
compile_options.c re PR fortran/51197 (Backtrace information less useful) 2012-01-10 10:32:29 +01:00
convert_char.c
environ.c
error.c Configure cleanup. 2011-11-09 20:25:58 +02:00
fpu.c
in_pack_generic.c libgfortran.h (descriptor_dimension, [...]): Rename _lbound to lower_bound and data to base_addr. 2012-03-10 18:22:31 +01:00
in_unpack_generic.c libgfortran.h (descriptor_dimension, [...]): Rename _lbound to lower_bound and data to base_addr. 2012-03-10 18:22:31 +01:00
main.c PR 51803 Avoid malloc if getcwd fails or is not available. 2012-01-12 11:58:34 +02:00
memory.c Use calloc instead of malloc and memset. 2012-03-25 08:48:49 +03:00
pause.c
select_inc.c
select.c
stop.c ctime.c: Include <stdlib.h>. 2011-07-23 11:06:04 +00:00
string.c