This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Ada. Fix file timestamps (gnatchop -p) for mingw32
- From: Arnaud Charlet <charlet at ACT-Europe dot FR>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, charlet at act-europe dot fr
- Date: Thu, 23 Oct 2003 11:52:20 +0200
- Subject: Re: Patch: Ada. Fix file timestamps (gnatchop -p) for mingw32
- References: <20031023094151.2332.qmail@web21407.mail.yahoo.com>
> 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
>
> * ada/adaint.c (w32_epoch_offset): Define static const at file
> level.
> (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
> rather than t_create, t_access in call to GetFileTime. Use union
> to convert between FILETIME and unsigned long long.
> (__gnat_file_time_name): Test for invalid file handle.
> (__gnat_set_filetime_name): Support win32 targets using
> w32api SetFileTime.
OK.
Arno