From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,51db6ea6453f12d0 X-Google-Attributes: gid111c93,public From: Craig Burley Subject: Re: 20 year problem with Alpha Date: 1998/07/25 Message-ID: #1/1 X-Deja-AN: 374904619 References: <6ySrhLxpz5B@nowhere.hit.handshake.de> Organization: Cygnus Support Newsgroups: comp.os.linux.alpha Robert Harley writes: > Craig Burley 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