delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/27/19:07:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Date: Mon, 28 Mar 2011 01:06:44 +0200 (CEST)
From: andre <akiki AT free DOT fr>
To: cygwin AT cygwin DOT com
Message-ID: <277043603.1687291301267204451.JavaMail.root@zimbra6-e1.priv.proxad.net>
In-Reply-To: <415512198.1687271301267190457.JavaMail.root@zimbra6-e1.priv.proxad.net>
Subject: 1.5.25: bug in touch statement
MIME-Version: 1.0
X-Authenticated-User: akiki AT free DOT fr
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I can't do on cygwin 1.5.25 : 
$ touch -t 201103270200 file 
touch: format de date invalide `201103270200' 

nor this equivalent : $touch -t 03270200 file

It's very surprising , but ... 
If I change 27 for 28 it's OK - idem if i change 2011 by 2010... 

Globally, it's working on 99.99% of cases. 

More surprising, the same problem exists on ubuntu 10.10. !!! 
touch: invalid date format `201103270200' 

Some patterns are only concerned! 

I am disapointed to raise such problem after thousands and thousands uses of this statement. 

-- Andre -- 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019