From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: VC and CVS/Entries under NT Date: Wed, 24 Sep 2003 10:00:46 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F71BFAE.20004@yahoo.com> References: <1064405175.551.136.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064420012 17487 80.91.224.253 (24 Sep 2003 16:13:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2003 16:13:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 24 18:13:30 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2CGf-00046K-00 for ; Wed, 24 Sep 2003 18:13:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2CNS-0005BR-00 for ; Wed, 24 Sep 2003 18:20:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2CBW-00022H-C8 for emacs-devel@quimby.gnus.org; Wed, 24 Sep 2003 12:08:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A2CBQ-00021m-81 for emacs-devel@gnu.org; Wed, 24 Sep 2003 12:08:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A2C4h-0001Fg-TI for emacs-devel@gnu.org; Wed, 24 Sep 2003 12:01:08 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2C4I-0001EP-IL for emacs-devel@gnu.org; Wed, 24 Sep 2003 12:00:42 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A2C3n-0006in-00 for ; Wed, 24 Sep 2003 18:00:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2C3l-0006if-00 for ; Wed, 24 Sep 2003 18:00:09 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A2C4F-00048H-00 for ; Wed, 24 Sep 2003 18:00:39 +0200 Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16603 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16603 Andre Spiegel wrote: > (let ((mtime (nth 5 (file-attributes file)))) > (require 'parse-time) > (let ((parsed-time > (parse-time-string (concat (match-string 2) " +0000")))) > (cond ((and (not (string-match "\\+" (match-string 2))) > (car parsed-time) > (equal mtime (apply 'encode-time parsed-time))) > > This code fixes Dave's problem, and the Solaris issue mentioned in > Stefan's comment. If anybody sees any problems with it, or has > suggestions how to improve it, please let me know. (require 'parse-time) could be moved to the top level at the beginning of vc-cvs.el; better yet, it could be elimintated if parse-time.el had an autoload cookie for the parse-time-string function (which is the only entry point for that library). Is there a good reason for parse-time.el to be in the gnus directory? -- Kevin Rodgers