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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-pair-Authenticated: 137.237.29.70 Message-ID: <003901bf9dbb$09aa8ac0$461ded89@sc019111.corp.harris.com> From: "Sean Phelan" To: Subject: Touch has a bug w/Daylight Savings time in the US Date: Mon, 3 Apr 2000 18:21:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Hi all, In case I'm the first one to discover this, there's a problem with Cygwin's TOUCH. It doesn't handle the daylight-savings crossover properly. -------------------- Once the Daylight-Savings is crossed (ex:4/1/99), touch improperly sets the file date if the date is before this crossover date. EX: "touch 0401120900 file.ext" will set the date to 1:09p instead of 12:09p BUT: "touch 0403120900 file.ext" will set the date to 12:09p as expected. Naturally, this is a bug which could bite someone. -------------------- Hope this helps, Sean -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com