delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
Cc: | cygwin AT cygwin DOT com |
Message-Id: | <811AA35F-E300-46E5-9FE3-EE7D5E58194B@free.fr> |
From: | Denis Excoffier <Denis DOT Excoffier AT free DOT fr> |
To: | Edward McGuire <cygwin DOT com AT metaed DOT com> |
In-Reply-To: | <BANLkTinBqCHvyRpgXpHcXD54ycPuGhrMcg@mail.gmail.com> |
Mime-Version: | 1.0 (Apple Message framework v936) |
Subject: | Re: cygcheck's understanding of TZ |
Date: | Thu, 9 Jun 2011 21:50:02 +0200 |
References: | <20110609094631 DOT 56364lzi64m7t4d3 AT messagerie DOT si DOT c-s DOT fr> <BANLkTinwkd50q5JdugNRO8wfQrJ00syD+w AT mail DOT gmail DOT com> <4DF10C13 DOT 3040208 AT cwilson DOT fastmail DOT fm> <BANLkTinBqCHvyRpgXpHcXD54ycPuGhrMcg AT mail DOT gmail DOT com> |
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 |
On 2011-06-09 21:26, Edward McGuire wrote: > cygcheck.cc: > [snip] > #include <sys/time.h> > [snip] > time_t now; > [snip] > printf ("\nCygwin Configuration Diagnostics\n"); > time (&now); > printf ("Current System Time: %s\n", ctime (&now)); > > It's using C RTL calls. And cygcheck(1) is linked with msvcrt.dll, > not GNU, and therefore cygcheck(1) has Microsoft C RTL behavior. > Microsoft C RTL does not support the pathname syntax extension; > that's a GNU thing. Exactly. That's why i suggested to use the UTC time zone (rather than an implicit local one), which msvcrt.dll probably is able to provide with no bug. We also could go a little bit beyond cgf's suggestion in http://cygwin.com/ml/cygwin/2011-06/msg00091.html (to use `date(1)') and remove completely the `Current System Time:' line in `cygcheck -s'. Already, this time indication is not given under the other cygcheck's options. Regards. Denis Excoffier. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |