Skip to content
Snippets Groups Projects
Commit e0658eda authored by Tero Koskinen's avatar Tero Koskinen Committed by Samuel Tardieu
Browse files

re PR ada/34647 (Ada runtime includes unsafe calls to mktemp and tmpname on OpenBSD)

2008-01-03  Tero Koskinen <tero.koskinen@iki.fi>

    gcc/ada/
	PR ada/34647
	* adaint.c (__gnat_open_new_temp, __gnat_tmp_name): Use mkstemp()
	on OpenBSD as is done on other BSD systems.

	PR ada/34645
	* sysdep.c (__gnat_ttyname, getc_immediate_nowait,
	getc_immediate_common): Treat OpenBSD as FreeBSD regarding immediate
	I/O.

	PR ada/34644
	* env.c (__gnat_clearenv): Treat OpenBSD as other BSD systems missing
	clearenv().

	PR ada/34646
	* init.c (__gnat_error_handler, __gnat_install_handler,
	__gnat_init_float): Define for OpenBSD.

	* initialize.c (__gnat_initialize): Define for OpenBSD.

From-SVN: r131301
parent 2092ee7d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment