Commit 192d0b15 by Arnaud Charlet Committed by Pierre-Marie de Rodat

[Ada] adaint.c: minor code cleanup

2018-07-16  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* adaint.c (__gnat_set_file_time_name): Code clean up.

From-SVN: r262709
parent 3ac5f7de
2018-07-16 Arnaud Charlet <charlet@adacore.com>
* adaint.c (__gnat_set_file_time_name): Code clean up.
2018-07-16 Javier Miranda <miranda@adacore.com>
* inline.adb (Build_Body_To_Inline): Minor code reorganization that
......
......@@ -1475,7 +1475,7 @@ __gnat_set_file_time_name (char *name, time_t time_stamp)
utimbuf.modtime = time_stamp;
/* Set access time to now in local time. */
t = time ((time_t) 0);
t = time (NULL);
utimbuf.actime = mktime (localtime (&t));
utime (name, &utimbuf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment