dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]File time attributes (was Re: Patches 919 & 920 Add Stubs for Se


From: Stephen Compall
Subject: [DotGNU]File time attributes (was Re: Patches 919 & 920 Add Stubs for SetCreationTime and Impl for Directory.Set*Time)
Date: Mon, 06 Jan 2003 14:34:20 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030101

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aditya P. Bansod wrote:
> Well, using utime I can't write to the ctime in the inode, only
> atime and mtime. I think st_ctime is changed any time the file is
> changed, but looking at the FreeBSD chmod very quickly, I didn't see
> any times being modified (altho I didn't look to hard).
>
> Looking at sys/stat.h, it doesn't even seem like a 'creation' time
> of sorts if even stored. I thumbed thru what mono did, and it seems
> like they don't attempt to set the created time either.

The glibc manual says that ctime is the "attribute modification time."
The coreutils manual calls it the "inode change time", meaning the
same thing.  *Note (libc)File Times.

    The attribute modification time for the file is set to the current
    time in either case (since changing the time stamps is itself a
    modification of the file attributes).

Referentially yours,

- --
Stephen Compall - Also known as S11001001
DotGNU `Contributor' -- http://dotgnu.org
Jabber ID: address@hidden

The "pirate" rhetoric is typically accepted because it blankets the
media so few people realize that it is radical.  It is effective
because, if copying by the public is fundamentally illegitimate, we
can never object to the publishers' demand that we surrender our
freedom to do so.  In other words, when the public is challenged to
show why publishers should not receive some additional power, the most
important reason of all--"We want to copy"--is disqualified in
advance.
        -- RMS, "Misinterpreting Copyright--A Series of Errors"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Gegq2AceYinZ4EgRAgqUAKCU/x9tuHnfMIajOfoTBrzp72KlhgCeIi+C
MSah8xHJ0GaRo1CdLt5m634=
=0/ib
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]