[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Windows users of cons can manipulate times.
From: |
Zachary Deretsky |
Subject: |
RE: Windows users of cons can manipulate times. |
Date: |
Thu, 30 Aug 2001 11:46:39 -0700 |
With a friend's help and perusing Microsoft help lore I found a way to
manipulate creation, access and modification times on Windows2000.
I attach the source and executable. I do not know of a unix way to do this.
Zach
> It doesn't have to be a direct way to manipulate the ctime value. It
> can be as a side effect of some other change to the file/inode. It
> doesn't have to be the same call on both *nix and Win32. It doesn't
> have to be in Perl. It could be a library/DLL call that gets compiled
> into a small utility routine from in-line code.
>
> I'd be happy to put in a change like this without a test for it. But
> without a regression test for a subtle capability like this,
> guaranteed
> that it will get broken by some change some time within the next 3-5
> years or so. If the test doesn't get written now, when the code goes
> in, the odds are slim to none that someone will go back and add it
> later. So this is *the* chance to make sure that not only
> does this get
> added, but that it also doesn't break in the future. I'd prefer that
> it not look like Cons ignores Windows users by not providing adequate
> regression tests for important Windows features...
>
> --SK
>
chtimes.ZIP
Description: Zip compressed data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: Windows users of cons can manipulate times.,
Zachary Deretsky <=