From: Craig Burley <burley@tweedledumb.cygnus.com>
Subject: Re: 20 year problem with Alpha
Date: 1998/07/25 [thread overview]
Message-ID: <y6r9zas3n6.fsf@tweedledumb.cygnus.com> (raw)
In-Reply-To: rz7n29zdkgf.fsf@corton.inria.fr
Robert Harley <harley@corton.inria.fr> writes:
> Craig Burley <burley@tweedledumb.cygnus.com> writes:
> > I haven't bothered to find a solution to the problem of fixing
> > the dates on symbolic links. It surprises me that GNU `touch'
> > doesn't offer a --no-dereference option for this, but perhaps
> > there's no way to do it in UNIX anyway [...]
>
> You can read the access/modify/change date and time using stat() or
> lstat() depending on whether you want to follow links or not. You can
> write the access/modify date and time using utime() but you can't set
> the change time to anything other than "now" nor choose not to follow links.
Just a guess, but do you mean "create" where you say "change"?
And, are you saying that utime() cannot be used without following
links, or that just in the change-creation-time case?
> As far as I know.
Someday I must learn UNIX. I hear many people use it. Apparently so
do I. Sigh. ;-)
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.org
next prev parent reply other threads:[~1998-07-25 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-23 4:00 20 year problem with Alpha Torsten Bauer
1998-07-24 4:00 ` Craig Burley
1998-07-24 4:00 ` Robert Harley
1998-07-25 4:00 ` Craig Burley [this message]
1998-07-24 4:00 ` John Walstra
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox