Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 14 Nov 2001 23:14:00 +0300 From: egor duda X-Mailer: The Bat! (v1.53 RC/4) Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <17831213001.20011114231400@logos-m.ru> To: chad fowler CC: cygwin AT cygwin DOT com Subject: Re: utime Bug? In-Reply-To: <20011114194337.46026.qmail@web13906.mail.yahoo.com> References: <20011114194337 DOT 46026 DOT qmail AT web13906 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Wednesday, 14 November, 2001 chad fowler chadfowler AT yahoo DOT com wrote: cf> When you use utime to set the actime to 0 (the epoch), cf> stat will show actime as being whatever modtime is set cf> to for that file. If you set it to anything else (1, cf> for example), actime is reflected accurately by stat. cf> Am I off base? The same code on my Debian box returns cf> the epoc for atime (instead of the modtime value). you should provide some details. a small testcase demonstrating a problem is highly desirable. see http://cygwin.com/cygwin/bugs.html for bug-reporting buidelines. fwiw, this snippet: #include int main() { struct utimbuf s; s.actime = s.modtime = 0; return (utime ("./x", &s)); } correctly sets access and modification times for file './x' with cygwin-1.3.5 on windows nt 4.0 Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/