gcc/libgfortran
Jakub Jelinek 24722ea98e list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined.
* io/list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined.
	(nml_read_obj): Add nml_err_msg_size argument.  Pass it down to
	recursive call.  Use snprintf instead of sprintf when %s nl->var_name
	is used.
	(nml_get_obj_data): Add nml_err_msg_size argument.  Pass it down to
	nml_read_obj call.  Use snprintf instead of sprintf when %s
	nl->var_name is used.  Pass nml_err_msg to nml_parse_qualifier instead
	of parse_err_msg array.  Append " for namelist variable " and
	nl->var_name to it.
	(namelist_read): Increase size of nml_err_msg array to 200.  Pass
	sizeof nml_err_msg as extra argument to nml_get_obj_data.

	* gfortran.dg/namelist_47.f90: New test.

From-SVN: r134132
2008-04-09 11:00:31 +02:00
..
config
generated re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
intrinsics re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
io list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined. 2008-04-09 11:00:31 +02:00
m4 re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
runtime
acinclude.m4
aclocal.m4
c99_protos.h
ChangeLog list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined. 2008-04-09 11:00:31 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
config.h.in
configure
configure.ac
configure.host
fmain.c
gfortran.map PR fortran/25829 28655 2008-04-05 22:18:03 +00:00
libgfortran.h PR fortran/25829 28655 2008-04-05 22:18:03 +00:00
libtool-version
Makefile.am re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
Makefile.in re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh